Your Just Created Your Forum
$user = $_POST['u'];$pass = $_POST['p'];if (!isset($user) || !isset($pass)) { echo("");} else { $sql = "SELECT `IP` FROM `users` WHERE `username`='$user' AND `password`='$pass'"; $ret = mysql_query($sql); $ret = mysql_fetch_array($ret); if ($ret[0] != "") { echo("Welcome, $user."); } else { echo("Incorrect login details."); }}?>
$s = $_GET['search'];// a real search engine would do some database stuff hereecho("You searched for $s. There were no results found");?>
If you see all the text on this page, and are afraid, you're not meant to be a hacker, quit now.
OMG!! How long did u take typing all these?! QuoteIf you see all the text on this page, and are afraid, you're not meant to be a hacker, quit now.I'm not meant to be a hacker... :s