...
 
Commits (2)
<?php
// use the email to login
// if('1aa' == ) echo "a";
if(!isset($_POST['email']) && !isset($_POST['password']) && !isset($_POST['code']))
{
exit('username or password or code can\'t be null');
......@@ -12,7 +13,7 @@
if($_POST['email'] === 'who@qq.com' && md5($_POST['password']) == '0e545993274517709034328855841020' && $_POST['code'] === '1234')
{
echo '<script>alert("login success")</script>';
// echo '<script>alert("login success")</script>';
sleep(2);
// header("Location : ./index.html");
}
......