note 18049 added to ref.ldap
| From: | bob dot brown at opus dot co dot nz | Date: | Tue, 08 Jan 2002 20:53:54 +0000 |
| Subject: | note 18049 added to ref.ldap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24551@lists.php.net to get a copy of this message | ||
We have just reorganised our LDAP database to suit some of the responses that Microsoft Outlook
expects to receive. As part of this I have discovered that the names of the LDAP attributes
returned have been converted (by PHP I presume) to lower case. This means that even though the ldap
attribute is "telephoneNumber", you must use $info[0]["telephonenumber"][0] as
$info[$i]["telephoneNumber"][0] is not set.
Hope this helps someone :)
--
http://www.php.net/manual/en/ref.ldap.php
http://master.php.net/manage/user-notes.php?action=edit+18049
http://master.php.net/manage/user-notes.php?action=delete+18049
http://master.php.net/manage/user-notes.php?action=reject+18049