note 44454 added to function.is-executable
| From: | Buuyo at rn2 dot php dot net | Date: | Fri, 06 Aug 2004 07:51:25 +0000 |
| Subject: | note 44454 added to function.is-executable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74103@lists.php.net to get a copy of this message | ||
The change doesn't appear to be documented, so I thought I would mention it. In php5, as
opposed to php4, you can no longer rely on is_executable to check the executable bit on a directory
in 'nix. You can still use the first note's method to check if a directory is traversable:
@file_exists("adirectory/.");
----
Manual Page -- http://www.php.net/manual/en/function.is-executable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44454
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44454&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44454&report=yes
Search -- http://master.php.net/manage/user-notes.php