note 33781 added to function.readdir
| From: | axel5_mx at yahoo dot com | Date: | Mon, 07 Jul 2003 17:51:51 +0000 |
| Subject: | note 33781 added to function.readdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51646@lists.php.net to get a copy of this message | ||
Nice recursive code by FX at yucom dot be, it doesn't display the last directory, i fixed it in
ShowFileList(&$a, $N) function
changing this line:
for ($i=1;$i<count($a); $i++)
like this:
for ($i=1;$i<=count($a); $i++)
Regards....
----
Manual Page -- http://www.php.net/manual/en/function.readdir.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33781
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33781&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33781&report=yes