#21214 [Opn->Bgs]: ldap_connect returns LDAP link identifier on error.

From: Date: Fri, 27 Dec 2002 17:04:52 +0000
Subject: #21214 [Opn->Bgs]: ldap_connect returns LDAP link identifier on error.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28482@lists.php.net to get a copy of this message
ID: 21214 Updated by: derick@php.net Reported By: W.Regenczuk@adbglobal.com -Status: Open +Status: Bogus Bug Type: LDAP related Operating System: RedHat 8 PHP Version: 4.3.0 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-12-27 10:58:38] W.Regenczuk@adbglobal.com ldap_connect returns LDAP link identifier on error The source: // LDAP variables $ldaphost = "nonexistendserver"; // your ldap servers $ldapport = 389; // your ldap server's port number // Connecting to LDAP $ldapconn = ldap_connect( $ldaphost, $ldapport ) or die( "Could not connect to {$ldaphost}" ); echo $ldapconn; returns sth like this: Resource id #11 Any ideas??? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21214&edit=1

« previous php.bugs (#28482) next »