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

356
Vistas
Can I create a DIV for every file in a folder

Probably Dumb Question Time, Guys:

Recently, I have been experimenting with PHP file handling (Specifically, creating a file with input entered from a user.) However, I have been struggling to find a way to display those files on a webpage. [END OF CONTEXT]

I basically want to create a DIV like this (for every file in a folder):

<div>
   <h1>[FILENAME]</h1>
   <p>Created by [USER]</p>
</div>

I then want to replace the [FILENAME] with the actual filename that is created for, and make it send you to the file it is created for when you click it.

I am willing to use some PHP for this mechanic, however I would like to stray away from JS libraries and MySQL if possible. (Not that I would necessarily need them for this project, but I just don't have a lot of experience with the languages/libraries.)

Thanks in advance, and apologies for the (probably) dumb question. (:

Oh, by the way, I know this isn't the most efficient or secure file handling method...

[End of Dumb Question Time]

about 4 years ago · Santiago Trujillo
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