note 8766 added to readdir

From: Date: Wed, 27 Sep 2000 19:53:07 +0000
Subject: note 8766 added to readdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-5488@lists.php.net to get a copy of this message
the example above didn't worked, this one did => #!/usr/local/bin/php <? $handle=opendir('.'); echo "Directory handle: $handle\n"; echo "Files:\n"; while ($file = readdir($handle)) { echo "$file\n"; } closedir($handle); ?> http://www.php.net/manual/function.readdir.php

« previous php.notes (#5488) next »