Home  >  Article  >  Backend Development  >  Login without refreshing_PHP tutorial

Login without refreshing_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:58:26990browse

无刷新登陆



用户名:
密码:





login.php页面:
$accounts=$_POST['accounts'];
$passwords=$_POST['passwords'];
$showdata="我登录啦!!";
if($accounts=="admin" && $passwords=="123456")
{
echo'';
}
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632013.htmlTechArticle无刷新登陆 form action=login.php method=posttarget=userlogin name=loginform div class=TxtUser id=userlogindiv 用户名:input name=accounts id=accounts type=text size=18 密码...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn