note 8766 deleted from readdir by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Mon, 06 Nov 2000 12:44:34 +0000 |
| Subject: | note 8766 deleted from readdir by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7450@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: $handlen";
echo "Files:n";
while ($file = readdir($handle)) {
echo "$filen";
}
closedir($handle);
?>