note 8712 deleted from dir by ronabop
| From: | ronabop@php.net | Date: | Fri, 29 Sep 2000 15:10:28 +0000 |
| Subject: | note 8712 deleted from dir by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5673@lists.php.net to get a copy of this message | ||
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?