is_executable() tells you whether you can run a file : is_executable « File Directory « PHP






is_executable() tells you whether you can run a file

 
<?
if ( is_executable( "test.txt" ) {
  print "test.txt is executable";
}
?>
  
  








Related examples in the same category

1.is_executable