Using the shell_exec() Function : shell_exec « Utility Function « PHP






Using the shell_exec() Function

 
<?php
     $output = shell_exec("ls");
     echo $output;
?>
  
  








Related examples in the same category

1.Running a program with shell_exec()