note 825 deleted from readdir by jmcastagnetto

From: Date: Mon, 06 Nov 2000 12:43:06 +0000
Subject: note 825 deleted from readdir by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-7448@lists.php.net to get a copy of this message
To expand on the above user's comment, all file names after the "0" file will not be displayed, depending on the position of the "0" filename in the internal directory structure. Try the sample code in a test directory in which you created bogus files "foo", "bar", "0" and "baz" IN THAT ORDER. Workaround:< while (($file = readdir($handle)) != "") { Scripting is such fun, who needs strict typing ? :-)

« previous php.notes (#7448) next »