note 87892 added to function.is-dir
| From: | Kairno at gmail dot com | Date: | Mon, 29 Dec 2008 11:19:39 +0000 |
| Subject: | note 87892 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148637@lists.php.net to get a copy of this message | ||
I had some issues with is_dir, on my main server the function worked, but on my test server it
returned false for the same dir, i was using gentoo and apache. the dir existed, tried ls , it
worked, after a lot of trial-and-error messing about it seems the dir you're trying to check
has to have execution permissions in order to work... hope this helped some of you...
----
Server IP: 69.147.83.197
Probable Submitter: 194.113.165.224
----
Manual Page -- http://www.php.net/manual/en/function.is-dir.php
Edit -- https://master.php.net/note/edit/87892
Del: integrated -- https://master.php.net/note/delete/87892/integrated
Del: useless -- https://master.php.net/note/delete/87892/useless
Del: bad code -- https://master.php.net/note/delete/87892/bad+code
Del: spam -- https://master.php.net/note/delete/87892/spam
Del: non-english -- https://master.php.net/note/delete/87892/non-english
Del: in docs -- https://master.php.net/note/delete/87892/in+docs
Del: other reasons-- https://master.php.net/note/delete/87892
Reject -- https://master.php.net/note/reject/87892
Search -- https://master.php.net/manage/user-notes.php