php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12949 ldap_bind issues warning
Submitted: 2001-08-24 12:32 UTC Modified: 2001-08-24 12:49 UTC
From: rbohn at commnav dot com Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
 [2001-08-24 12:32 UTC] 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 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 12:49 UTC] 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

 [2011-10-13 09:54 UTC] truc at moechofe dot com
But, when using a personal error_handler function, the warning is catched by this handler. This is really annoying.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 09:01:33 2024 UTC