note 11199 added to is_executable
| From: | drtebi at hotmail dot com | Date: | Fri, 09 Feb 2001 13:12:38 +0000 |
| Subject: | note 11199 added to is_executable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10845@lists.php.net to get a copy of this message | ||
This does not work on directories!
look at this example:
if(is_file("foo/bar"))
print "found it";
if "bar" exists, but directory "foo" is not executable, you will NOT get
"found it" as result.
http://www.php.net/manual/en/function.is-executable.php