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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rbohn at commnav dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Sep 28 22:01:27 2024 UTC