ConFoo Montreal 2026: Call for Papers

Voting

: min(one, two)?
(Example: nine)

The Note You're Voting On

twopairs at solfy dot com
24 years ago
<pre>
uid: testuser
mail: [email protected]
mail: [email protected]
</pre>

How to remove the values of mail so that only the second value for mail exists:

<pre>
$entry["mail"] = "[email protected]";
$result = ldap_mod_del($connID, $dn, $entry);
</pre>

if you want to remove all instances of an attribute.....
==>
<pre>
$entry["mail"][0] = "[email protected]";
$entry["mail"][1] = "[email protected]";
$result = ldap_mod_del($connID, $dn, $entry);
</pre>

are not?

<< Back to user notes page

To Top