note 21605 added to function.ldap-get-attributes

From: Date: Tue, 21 May 2002 00:52:51 +0000
Subject: note 21605 added to function.ldap-get-attributes
Groups: php.notes 
Request: Send a blank email to php-notes+get-30822@lists.php.net to get a copy of this message
The array created by this function is similar to the on from ldap_get_entries() but when it creates array keys it alters the attribute's case inconsistently. ldap_get_entries() lowercases all of the attributes before keying the array with them, but this function appears to leave things as they are. If you're having problems, do a print_r and make sure you're using correct case for array keys. For example, you might need to use "objectClass" and not "objectclass". -- http://www.php.net/manual/en/function.ldap-get-attributes.php http://master.php.net/manage/user-notes.php?action=edit+21605 http://master.php.net/manage/user-notes.php?action=delete+21605 http://master.php.net/manage/user-notes.php?action=reject+21605

« previous php.notes (#30822) next »