Hi,
I'm looking to make a script that will show a website's directory contents, given the URL address.
Like..
$url = "http://www.site.com/bob/";
echo "Contents:<br>";
echo Directory contents of $url;
..which would display:
Contents:
index.html
image1.gif
image2.gif
subdirectory/
pic.jpg
Get it? Can this be done? If somebody could put up some code or point me in the right direction, that would be great. Thanks!