note 34511 added to function.ldap-get-attributes

From: Date: Tue, 29 Jul 2003 16:28:06 +0000
Subject: note 34511 added to function.ldap-get-attributes
Groups: php.notes 
Request: Send a blank email to php-notes+get-52947@lists.php.net to get a copy of this message
It's good practice to use array_change_key_case() on the result of ldap_get_attributes() so your program can ignore case in attribute names just like ldap itself does. (You wouldn't want ldap_get_attributes to _always_ flatten the case because you need a way to get the attribute names in a pretty format for display to the user.) ---- Manual Page -- http://www.php.net/manual/en/function.ldap-get-attributes.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34511 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34511&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34511&report=yes

« previous php.notes (#52947) next »