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("<br>$filename =<strong> ");
     print(filesize($filename));
     print("</strong>");
}
closedir($the_directory);

But how can I use something like this to index a REMOTE directory?

I have tried $startdir = http://siteiwant.com/; with no joy
:(

Can someone help please
Thanks




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to