Hi yall. I'm currently working on a web project for a friend, and one aspect has been stumping me.
I'm completely new to php, but my research has indicated that a php script can receive information from an html form using php's get and post variables, but I've found nothing on how to do the opposite.
What I'm trying to do is get an array of file names from a directory scan within the php script, and have the elements converted to options on a selection list type form.
The end result should be you can select a file from a particular server directory using the form.
Can anyone tell me if this is possible, or if there is a better way to implement it? Thank you for taking the time to assist.