Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as PHP by Steve Johns ( 14 years ago )
<?php
// put the posted username and password into variables
$username = $_REQUEST['username'];
$password = $_REQUEST['password'];
// if the username and password has been left blank
if ($username == 'test' && $password == 'test') {
$json_string = '{"message":"<strong>Login Successful!</strong>","successful":"Y"}';
echo $json_string;
}
else {
$json_string = '{"message":"<strong>Login failed! Please enter your email address and password.</strong>","successful":"N"}';
echo $json_string;
}
?>
Revise this Paste