note 33989 added to function.ldap-modify

From: Date: Sat, 12 Jul 2003 22:52:02 +0000
Subject: note 33989 added to function.ldap-modify
Groups: php.notes 
Request: Send a blank email to php-notes+get-51993@lists.php.net to get a copy of this message
The $entry parameter can be an array of values for an attribute. Just be careful that your array's indices are numerically contiguous. For example, when using this $entry array, ldap_modify will fail with little explanation: $entry = array( 0 => 'foo', 2 => 'bar' ); While this one will work just fine: $entry = array( 0 => 'foo', 1 => 'bar' ); Hope this helps someone out. ---- Manual Page -- http://www.php.net/manual/en/function.ldap-modify.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33989 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33989&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33989&report=yes

« previous php.notes (#51993) next »