Edit report at https://bugs.php.net/bug.php?id=12949&edit=1
ID: 12949
Comment by: truc at moechofe dot com
Reported by: rbohn at commnav dot com
Summary: ldap_bind issues warning
Status: Bogus
Type: Bug
Package: LDAP related
Operating System: linux
PHP Version: 4.0.6
Block user comment: N
Private report: N
New Comment:
But, when using a personal error_handler function, the warning is catched by this handler. This is
really annoying.
Previous Comments:
------------------------------------------------------------------------
[2001-08-24 12:49:24] sniper@php.net
If you want to suppress error messages, either
set the error_reporting to the level you like
or use @ in front of the function of which errors
you don't want to output. Not a bug.
(This is how all php functions work..)
--Jani
------------------------------------------------------------------------
[2001-08-24 12:32:12] rbohn at commnav dot com
possible bug:
inside the ldap_bind, if the credentials are invalid, php issues a warning. I think it should JUST
return false. Is there a reasoning behind this?
~Ryan Bohn
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=12949&edit=1