if ($_SERVER['REQUEST_METHOD'] === 'POST')
{
foreach ($_POST as $key => $value)
eval("\$$key = \"$value\";");
}
else if ($_SERVER['REQUEST_METHOD'] === 'GET')
{
echo "<strong>HTTP GET</strong> <br/><br/>";
echo $_SERVER['QUERY_STRING'];
}
No comments:
Post a Comment