note 106513 added to function.is-dir
| From: | boffin_4ever at ukr dot net | Date: | Tue, 15 Nov 2011 13:47:21 +0000 |
| Subject: | note 106513 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184453@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 89.251.21.32
Probable Submitter: 79.135.213.213
----
Manual Page -- http://www.php.net/manual/en/function.is-dir.php
Edit -- https://master.php.net/note/edit/106513
Del: integrated -- https://master.php.net/note/delete/106513/integrated
Del: useless -- https://master.php.net/note/delete/106513/useless
Del: bad code -- https://master.php.net/note/delete/106513/bad+code
Del: spam -- https://master.php.net/note/delete/106513/spam
Del: non-english -- https://master.php.net/note/delete/106513/non-english
Del: in docs -- https://master.php.net/note/delete/106513/in+docs
Del: other reasons-- https://master.php.net/note/delete/106513
Reject -- https://master.php.net/note/reject/106513
Search -- https://master.php.net/manage/user-notes.php