Tuesday, November 5, 2013

Catch ldap_bind(): Unable to bind to server: Invalid credentials

I used the tip from this page: http://bytes.com/topic/php/answers/600903-ldap_bind-warning-instead-false

"You can get around this if you supress warning and error messages by
putting a @ in front of the function name:

$ldapbind = @ldap_bind($ldapconn, $ldaprdn, $ldappass);"

No comments:

Post a Comment