Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

261
Vistas
How to Make a HTML Form Where Files can be Submitted.\

I'm kind of new to HTML, (not totally) and I was wondering the easiest way to create an HTML form page where users can submit files to. I have tried looking up many pages and tutorials, but they don't seem like what I need. I would want something where someone can submit a file and give it a name and it sends it to a database or something. Does anyone have a webpage where I can find a tutorial (or a video)?

Sorry if this is off-topic in anyway.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Okay, so what you wanna do is do a POST request.

<form method="POST" action="/addFile" enctype="multipart/form-data">
  <div>
    <label><h4>Name of file</h4></label>
    <input type="text" name="file_name">
  </div>
<div class="form-group">
  <input name="photo" type="file">
</div>
  <div>
    <button type="submit">Submit</button>
  </div>
</form>

After this, you want to catch this route with at POST request, and handle the input. You can do this in javascript or php etc.

Checkout Node.js or Laravel - im a big fan of laravel, and Laracasts has the tutorials you are asking for, for free at laracasts.com

Check this out (Laravel - PHP): https://laracasts.com/series/build-project-flyer-with-me/episodes/5

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda