Hi,

I'm working with an LDAP annuary, I try to make a filter, when in a field,
someone write tot*, it find all the occurences beginning by tot.

I use PHP and openLDAP :

in php I make this :

$filter="(|(chp1=$motrech*)(chp2=$motrech*))";
$justthese=array('chp1','chp2');
$sr = ldap_search ($ds, $dn, $filter, $justthese);

and it doesn't return anything .

Thank you

Sorry, for my poor english, I'm French

K





Reply via email to