Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

363
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!