
PHP
yongenghaha
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装PHP的LDAP的扩展(ubuntu)
之前用PHP的一个项目用到了LDAP,度娘,谷歌了一直没有配好,所以记录一下我自己的配置(我的机子是ubuntu): //有人说安装这个就好,我自己用到反正是不行,查的说ldap会用到lasso,所以还得安装下php5-lasso的命令。 sudo apt-get install php5-ldap; sudo apt-get install php5-lasso; ...原创 2014-06-04 11:31:54 · 953 阅读 · 0 评论 -
PHP 访问LDAP
/** * @file ldap_util.php * * @author Li Yongfeng */ function getUserEmail($userId) { $ldap_host = "ldap://***/"; $ldap_user = "***"; $ldap_pwd = "***"; $ldap_co...原创 2015-04-21 15:25:45 · 172 阅读 · 0 评论