September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool is_executable(string filename) Checks whether a file is executable.
Returns:
TRUE if executable; FALSE otherwise
Description:
Checks whether the specified file is executable.
Note:
The results of this function are cached. See clearstatcache() for details.
Example:
$file = "testfile";
if(is_executable($file))
{
echo ("File $file is executable.");
}
else
{
echo ("File $file is not executable.");
}
|
Read now
Unlock full access