Source Code:
(back to article)
<?php $file = '/path/to/file'; if (is_executable($file)) { echo 'The file is executable'; } else { echo 'The file is not executable'; }
Result:
Report an issue