如何使用会话在php中对用户进行身份验证 [英] how to authenticate a user in php using session
本文介绍了如何使用会话在php中对用户进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的网页中,我有一个登录表单...登录表单的所有验证均已完成...我希望用户成功登录后对其进行身份验证... plz帮助!
In my webpage i have a login form...all the validation of the login form is done...i want the user to be authenticated after he gets logged in succeessfully...plz help!!
推荐答案
Hello Pritesh,
请查看此 [ ^ ]教程.
对此,
Hello Pritesh,
Please have a look at this[^] tutorial.
Regards,
例如,从本手册开始: http ://www.php.net/manual/zh/features.http-auth.php [ http://pear.php.net/packages.php?catpid=1 [ ^ ].
或者,考虑使用OpenID.其API包括PHP库:
http://en.wikipedia.org/wiki/OpenID [ http://openid.net/developers/libraries [
Start for example, from this manual: http://www.php.net/manual/en/features.http-auth.php[^].
See also: http://pear.php.net/packages.php?catpid=1[^].
Alternatively, consider using OpenID. Its API includes the PHP library:
http://en.wikipedia.org/wiki/OpenID[^],
http://openid.net/developers/libraries[^].
—SA
这篇关于如何使用会话在php中对用户进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文