directory script
directory script
- Started
- Last post
- 3 Responses
- swollenelbow
I remember a while back i had a scrip that you threw into any of your directories and it would sort out and display what files you have in there, i think it was done in php...anyone know?
- ave0
Here's your starting point:
$dir_path= "./";
$browse_me = opendir( $dir_path ) or die("bad news here!");while ($file=readdir($browse_me)){
echo $file."";
}
- ave0
...mind that evil space in "$browse_me"
:)
- swollenelbow0
ave, thanks for the "learning" how to do it yourself, but as you know i'd just like to dump this thing in...actually i've been doing some testing and found out that i can only do this in asp...php on my server is a no go...