Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Use ls command to shell_exec
- // function
- $output = shell_exec('ls');
- // Display the list of all file
- // and directory
- echo "<pre>$output</pre>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement