> I have tried $startdir = http://siteiwant.com/; with no joy
> :(
If the web-site in question had DirectoryBrowse on, or whatever that Apache
flag is so you can see directories when there's no index.htm, and if the
site in question had no index.htm, you could maybe use fopen() to do that...
Ano
hi,
if i want to index the filenames in a local directory its quite easy using
something like the following:
$startdir = "." ;
$the_directory = opendir($startdir) ;
while($filename = readdir($the_directory))
{
print("$filename = ");
print(filesize($filename));
print("");
}
close
2 matches
Mail list logo