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]