Listing contents of a directory
Posted: Tue Jul 09, 2002 12:54 pm
I'm trying to make a form select where you can choose between the files in a directory. On an earlier version, I used opendir, etc because this script ran on the same server as the files. It worked great. Now I've had to move the script to a different server. I believe that opendir won't work on a www directory. I could open an FTP connection and read the files, but is there a better way to do it?