Re: Newbie: Problem with readdir
| From: | Thomas Deliduka | Date: | Mon, 03 Jul 2000 16:28:18 +0000 |
| Subject: | Re: Newbie: Problem with readdir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4522@lists.php.net to get a copy of this message | ||
Update to php 4.0.1pl2 and this problem with disappear.
I found it interesting that on 7/3/00 12:18 PM Mark Newnham said:
> php4, linux
>
> <html><head><title>PHP Test</title></head>
> <body>
>
> <?php
> $dh=opendir('.');
> readdir($dh);
> closedir($dh);
> ?>
>
> </body></html>
>
>
> Produces the following output
>
> Warning: 1 is not a valid Directory resource in
> /usr/local/apache/htdocs/php/hello.php on line 6
> Warning: 1 is not a valid Directory resource in
> /usr/local/apache/htdocs/php/hello.php on line 7
>
> Could anyone point me to solution/resources
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/