note 6805 deleted from opendir by rasmus
| From: | rasmus@php.net | Date: | Wed, 06 Sep 2000 18:06:54 +0000 |
| Subject: | note 6805 deleted from opendir by rasmus | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4257@lists.php.net to get a copy of this message | ||
After reading all the common mannuals, faq's and newsgroups I still couldn't solve my
problem: I want to write the dir list of a remote server directory on my page.
$dir=opendir($url_path);
while ($file=readdir($dir))
{echo "$file";}
always results in "Warning: OpenDir: Invalid argument (errno 22)...". $url_path contains
the correct path (http://www.domainname.de/directory/). There is no login and password required for
reading that directory.
What am I doing wrong?
Thanks.
Ron.