PHP 4.0 Bug #5455 Updated: readdir() still doesn't work

From: Date: Wed, 12 Jul 2000 09:32:07 +0000
Subject: PHP 4.0 Bug #5455 Updated: readdir() still doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-24170@lists.php.net to get a copy of this message
ID: 5455 User Update by: johan@ekenberg.se Status: Feedback Bug Type: Misbehaving function Description: readdir() still doesn't work As I wrote earlier, the problem is that the while-loop exits at the first evaluation of the "if-statement", thus printing only the first directory entry - a dot. If the "if-statement" is removed or commented out, the complete directory listing is printed out. "anything" is just that - anything or nothing. Call it "bogus", "foo", or remove it completely - it just doesn't matter. Enabling debug did not produce any messages in the PHP or error-logs. How do I check the exit code? This is run as an Apache module with no errors produced in the logs - I suppose that's an exit code of 0? Please check the following URL for a working example: http://www.ekenberg.se/readdir/index.php Full Bug description available at: http://bugs.php.net/?id=5455

« previous php.dev (#24170) next »