Hey, I'm a real newb with php, and I don't know many functions yet... What I'd like to ask is...
Is there a function I can call to fill an array with the names of the files in a given directory?
I know I can do things like (index.php?filename="blah.txt"), and if I had an array, I could probably foreach it to match if the file exists...
How would I start a download if there was a match in that case..? Is this a bad (not secure) way to go about things?
Thanks for anyone who tries to help...
p.s. i have lots of experience with procedural programming, so i'm not a total dummy... eheh