Re: Net_LDAP & Exceptions

From: Date: Tue, 13 Sep 2005 11:06:38 +0000
Subject: Re: Net_LDAP & Exceptions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20934@lists.php.net to get a copy of this message
Hi Jeff Loiselle, you wrote: > When I purposely send bad credentials and check for error, I can't > seem to trap it as it is throwing Exceptions. > Fatal error: Uncaught exception 'Exception' with message If you use PHP5/Exceptions you need to use the try/catch construct: http://php.net/try Regards, -- Michael - < mike(@)php.net >

« previous php.pear.general (#20934) next »