note 11199 modified in is_executable by zak

From: Date: Fri, 09 Feb 2001 15:38:13 +0000
Subject: note 11199 modified in is_executable by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-10850@lists.php.net to get a copy of this message
[Editor's Note: This is the expected behavior (at least on most Unix-like systems). If a directory is not executable, then you cannot get details on the files in the directory - this includes the permissions. --zak@php.net] 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/is-executable.php

« previous php.notes (#10850) next »