home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine 2003 September
/
INTERNET107.ISO
/
pc
/
projects
/
phppass
/
checklogin.php
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
PHP Script
|
2003-06-06
|
184 b
|
10 lines
<?php
if ($username == "abc" && $password == "123") {
setcookie("LoggedIn", "True");
header("Location: index.php");
exit;
}else{
header("Location: error.php");
exit;
}
?>