简体   繁体   中英

Is possible get the user logged in a WinServer AD with PHP ldap?

I need get the user logged in a Windows network with PHP ? like

request.servervariables("LOGON_USER")

from Asp?

Thanks, Celso.

http://framework.zend.com/manual/en/zend.ldap.introduction.html

If you are using zend framework you can use Zend LDAP classes

otherwise use php ldap classes

http://us2.php.net/manual/en/function.ldap-compare.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM