note 33687 deleted from ref.dir by nicos
| From: | nicos@php.net | Date: | Fri, 04 Jul 2003 12:29:04 +0000 |
| Subject: | note 33687 deleted from ref.dir by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51507@lists.php.net to get a copy of this message | ||
Note Submitter: mmcintyre at squiz dot net
----
in the submission by 'david DOT leggett AT ntlworld DOT com'
the line:
while ($file = readdir ($d)) {
should be changed to:
while (false !== ($file = readdir($d))) {
to avoid undesirable actions.