Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

359
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda