update page now

Voting

: min(seven, five)?
(Example: nine)

The Note You're Voting On

twopairs at solfy dot com
24 years ago
<pre> 
uid: testuser 
mail: testuser@test.net 
mail: testuser@somewhere.com 
</pre> 

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

<pre> 
$entry["mail"] = "testuser@test.net"; 
$result = ldap_mod_del($connID, $dn, $entry); 
</pre> 

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

are not?

<< Back to user notes page

To Top