note 106513 deleted from function.is-dir by salathe
| From: | salathe@php.net | Date: | Tue, 15 Nov 2011 13:55:34 +0000 |
| Subject: | note 106513 deleted from function.is-dir by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184454@lists.php.net to get a copy of this message | ||
Note Submitter: boffin_4ever at ukr dot net
----
Took a while to figure this out, but - DONT USE THIS IN A LOOP WITH READDIR()! readdir() only gives
the file/dir name and not the full path which is_dir apparently needs to be able to accurately
evaluate the argument. See http://div-studio.com.ua/raskrutka-sajtov.html.