- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
if(isset($_POST['username']) and isset($_POST['password'])) {
$user = $_POST['username'];
$pass = $_POST['password'];
if($user == $pass) {
$_SESSION['user'] = $user;
$_SESSION['logged_in'] = true;
}
}
guest 23.04.2009 08:43 # 0
Это типа изощренный admin:admin.
guest 19.03.2010 17:20 # +3.2