Hi
I am trying to build a small script that retrieves a list of files in a given directory, into an array, then prints them to a text file, so it can be loaded by flash into a movie clip. The idea is that someone could just upload a file to a directory and next time the page loads it would show. I found a script that does it, but I would rather have a solid understanding of how it works.
The script I found is here
but after searching through php.net I cannot find the getDirectoryCon tent in the function list.
I am trying to build a small script that retrieves a list of files in a given directory, into an array, then prints them to a text file, so it can be loaded by flash into a movie clip. The idea is that someone could just upload a file to a directory and next time the page loads it would show. I found a script that does it, but I would rather have a solid understanding of how it works.
The script I found is here
but after searching through php.net I cannot find the getDirectoryCon tent in the function list.
Comment