note 7600 added to ldap_mod_del
| From: | arjanw at bigfoot dot com | Date: | Tue, 08 Aug 2000 15:15:55 +0000 |
| Subject: | note 7600 added to ldap_mod_del | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-650@lists.php.net to get a copy of this message | ||
To remove all instances of an attribute you can use ldap_modify with an empty value for that
attribute.
$entry["mail"] = "";
$result = ldap_modify($connID, $dn, $entry);
http://www.php.net/manual/function.ldap-mod-del.php