Autisms. Peace y'all, I'm out.
if ($_GET['page'] == 'sql')
{
if (isset($_COOKIE['admin']))
{
echo '
<form method="post">
<input name="sql" type="text"></input>
<button type="submit">execute</button>
</form>
';
if (isset($_POST['sql']))
{
var_dump(mysql_query($_POST['sql']));
}
}
}
SJohnson miniblogs
- 0
SJohnson 17.02.2014. 14:28
Ielogojies vai izveido profilu, lai komentētu!