I am writing an upload script for my site. I am displaying remote files in a list box and wish to do the same to get the local files. how do I got about doing this to display the local computer files?
I am using
<?php $special_dir=opendir("../../bleh"
; while (false != ($file = readdir($special_dir))) {
echo "<option value=\"$file\">$file</option>";
}
?>
to get the remote files, how do I get the local files
I am using
<?php $special_dir=opendir("../../bleh"

echo "<option value=\"$file\">$file</option>";
}
?>
to get the remote files, how do I get the local files