Read the error handling chapter in the documentation. -Rasmus
On Mon, 22 Apr 2002, Jean-Rene Cormier wrote: > Ok I'm trying to create a script that would allow users to bind to an > LDAP server and we all know there's gonna be some people mistyping their > password but when I try to bind and put the wrong password I always get > a warning message like this: > > Warning: LDAP: Unable to bind to server: Invalid credentials in > /whatever/dir/script.php on line 53 > > Is there a way I don't get this message and I'd put my own error > message? > > Thanks > > Jean-Rene Cormier > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php