设置登录用户名和密码与系统用户名和密码相同 [英] setting login username and password same as the system username and password

查看:136
本文介绍了设置登录用户名和密码与系统用户名和密码相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用PHP设计一个登录页面,它将密码作为机器登录的默认密码,即用户登录他/她的电脑时输入的密码。



用户名也应该是用户登录系统时使用的用户名。



是否可以使用PHP?我该怎么办?

I need to design a login page using PHP which takes password as the default password of the machine login i.e. the password that the user enters when he/she logins to his/her computer.

Also the username should be the username the user uses to login to his system.

Is it possible using PHP? How can I do it?

推荐答案

看起来你可能需要LDAP。请参阅:

http://us2.php.net/ldap [ ^ ],

http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part- 1 / [ ^ ]。



-SA
It looks like you might need LDAP. Please see:
http://us2.php.net/ldap[^],
http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part-1/[^].

—SA


这篇关于设置登录用户名和密码与系统用户名和密码相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆