Re: note 8712 added to dir
| From: | Ron Chmara | Date: | Fri, 29 Sep 2000 03:03:51 +0000 |
| Subject: | Re: note 8712 added to dir | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-5615@lists.php.net to get a copy of this message | ||
chedong@netease.com wrote:
> following code runs properly on FreeBSD version of PHP4.0.2 but failed on Solaris 7 :
> <?php
> $dir = "/home/chedong/public_html";
> $d = dir($dir);
> while($entry = $d->read()){
> echo $entry."<br>";
> }
> ?>
> We found the error occured at
> $d->read()
> when the file read directory again there is no message returned.....
> is it a bug on Sun OS?
> http://www.php.net/manual/class.dir.php
please report bugs at http://bugs.php.net/
your note has been deleted.
-ronabop@php.net
--
Brought to you from boop!, the dual boot Linux/Win95 Compaq Presario 1625
laptop, currently running RedHat 6.1. Your bopping may vary.