l
Posted: 08 Feb 2011, 09:18
l
Code: Select all
<html>
<head />
<body>
<form action=`index.php` method=post>
username: <input type=text name=user><br />
password: <input type=password name=pass><br />
<input type=submit value="GO!`><p>
</form>
<?php
$user=$_POST[`user`];
$pass=$_POST[`pass`];
if (($user==`atlem")&&($pass==`poo`)) echo `accsess granted!";
else echo `access denied!";
?>
</body>
</html>