Home >php教程 >php手册 >浅谈php用户身份认证(三)

浅谈php用户身份认证(三)

WBOY
WBOYOriginal
2016-06-21 09:08:13919browse

            浅谈php用户身份认证(三)
                           爆米花 2001 12,28 www.westxj.net
  前面讲了基于http多用户验证,我们采用的mysql数据库,在密码验证方面孤狼大哥建议非常好,密码验证的时候,最好在数据库中进行,所以程序为:select id from user where user='$PHP_AUTH_USER' and password='$PHP_AUTH_USER'.
 



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