note 74268 added to function.ldap-modify

From: Date: Tue, 03 Apr 2007 01:44:50 +0000
Subject: note 74268 added to function.ldap-modify
Groups: php.notes 
Request: Send a blank email to php-notes+get-125022@lists.php.net to get a copy of this message
If you're seeing confusing "Type or value exists" errors from ldap_modify, the reason could be that you're attempting to add two identical values for a multi-valued attribute. ie, something like: <?php $le = array("mail" => array("foo@bar.com", "foo@bar.com")); $result = ldap_modify($ldap_link, $dn, $le); ?> ---- Server IP: 203.220.0.234 Probable Submitter: 202.12.144.21 (proxied: 1.1 ncai (NetCache NetApp/5.6.2R1D28), 1.1 ncao (NetCache NetApp/5.6.2R1D28)) ---- Manual Page -- http://www.php.net/manual/en/function.ldap-modify.php Edit -- https://master.php.net/note/edit/74268 Del: integrated -- https://master.php.net/note/delete/74268/integrated Del: useless -- https://master.php.net/note/delete/74268/useless Del: bad code -- https://master.php.net/note/delete/74268/bad+code Del: spam -- https://master.php.net/note/delete/74268/spam Del: non-english -- https://master.php.net/note/delete/74268/non-english Del: in docs -- https://master.php.net/note/delete/74268/in+docs Del: other reasons-- https://master.php.net/note/delete/74268 Reject -- https://master.php.net/note/reject/74268 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125022) next »