$file_name="permissions.php";//Only works on Windows with PHP 5.0.0 or laterif(is_executable($file_name)) { echo ("The file $file_name is executable.");}else { echo ("The file $file_name is not executable.");}?>