It looks like you're new here. If you want to get involved, click one of these buttons!
<?php
//create short names for variables
@ $name = $HTTP_POST_VARS['name'];
@ $password = $HTTP_POST_VARS['password'];
if (empty($name)||empty(password))
{
//visitor needs to enter a name and password
?>
<h1>Login Please</h1>
This page is 31337.
<form method=\"post\" action=\"31337.php\">
<table border=\"1\">
<tr>
<th> Username </th>
<td> <input type=\"text\" name=\"name\"> </td>
</tr>
<tr>
<th> Password </th>
<td> <input type=\"password\" name=\"password\"> </td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\">
<input type=\"submit\" value=\"Log In\">
</td>
</tr>
</table>
</form>
<?php
}
else if($name=='user'&&$password=='pass')
{
//visitors username and password are correct
echo '<h1>K-Rad 31337!</h1>';
echo 'Your Username and Password combination where correct.';
{
else
{
//visitors username and password are not correct
echo '<h1>YOU SUCK!</h1>';
echo 'YOUR ACCESS HAS BEEN DENIED!';
}
?>