PHP list directory
PHP list directory
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- chimchim0
$dir = opendir('yourdirectory');
while (false !== ($file = readdir($dir))) {
echo $file;
}
closedir($dir);just wrap the entire thing to spit out xml...in flash call the script with a load method of an xml object.
myXML.load(path + "scandir.php");