note 21459 added to function.ldap-mod-del
| From: | JoshuaStarr at aelana dot com | Date: | Tue, 14 May 2002 02:24:02 +0000 |
| Subject: | note 21459 added to function.ldap-mod-del | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30613@lists.php.net to get a copy of this message | ||
The above example has also been proven to work in the iPlanet / Sun One Directory Server 5.0/5.1. As
an example:
$attrs["mail"] = array();
ldap_mod_del($ldapConnID,$dn,$attrs);
or
$attrs["mail"] = array();
$attrs["telephonenumber"] = array();
ldap_mod_del($ldapConnID,$dn,$attrs);
This will remove all occurences of attributes in the entry specified by the dn.
--
http://www.php.net/manual/en/function.ldap-mod-del.php
http://master.php.net/manage/user-notes.php?action=edit+21459
http://master.php.net/manage/user-notes.php?action=delete+21459
http://master.php.net/manage/user-notes.php?action=reject+21459