Home > Backend Development > PHP Tutorial > 哪位高手来帮小弟我看看php登录页面的有关问题,不胜感激

哪位高手来帮小弟我看看php登录页面的有关问题,不胜感激

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:35:37
Original
843 people have browsed it

谁来帮我看看php登录页面的问题,不胜感激
用php做登陆页面,跟数据库里的数据做验证,如果输入的用户名或密码不符则提示“用户名或密码不正确”的错误信息,用这样的语句返回 header(“Location:login.php?errno=1”),在login.php页面中用$_GET接收errno,可以login.php页面中成功看到“用户名或密码不正确”这样的信息,但是如果这时候刷新页面的话却刷不掉这个信息,请问有没有什么方法可以让“用户名或密码不正确”这句话在刷新时消失掉?

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template