PHP is_executable() Function and example
This this PHP tutorial illustrates the use of file handling function is_executable() and its example
This this PHP tutorial illustrates the use of file handling function is_executable() and its example
Syntax
bool is_executable(file_name)
- Find the PHP is_executable() function states whether the given file is executable or not
Example of PHP is_executable Fu
Code
<?php
if (is_executable(
"c:\agpad\agpad.exe"))
echo "file is
executable";
else
echo "file is not
executable";
?>
Output
file is executable