| 
        
            ldap_compareCompare value of attribute found in entry specified with DN Description
   mixed ldap_compare
    ( resource  
  $link_identifier
   , string $dn
   , string $attribute
   , string $value
   )
   Compare  Parameters
 
 Return Values
   Returns  ExamplesThe following example demonstrates how to check whether or not given password matches the one defined in DN specified entry. 
 Example #1 Complete example of password check 
<?phpNotesWarning
    
 ldap_compare can NOT be used to compare BINARY values!  |