LDAP with version 4.2
| From: | USA) | Date: | Tue, 23 Apr 2002 22:09:45 +0000 |
| Subject: | LDAP with version 4.2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83231@lists.php.net to get a copy of this message | ||
Hi, I just tried to upgrade to 4.2 and all my LDAP queries stopped working.
My configuration is as follows:
IIS5
PHP4.2
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.94.2.3 2001/12/01 14:17:43 venaas Exp $
Total Links 0/unlimited
API Version 2004
Everything works great on 4.1.1 but when I change to 4.2 I get:
Notice: Undefined variable: HTTP_USER_AGENT in R:\WebApps\commonTools\global.inc on line 14
Notice: Undefined offset: 2 in R:\WebApps\commonTools\functions.inc on line 515
Warning: LDAP: Unable to perform the search: Invalid syntax in R:\WebApps\commonTools\functions.inc
on line 483
Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in
R:\WebApps\commonTools\functions.inc on line 484
I've never had a problem with backwards compatibility of new PHP versions before. Any input
would be helpful. Thanks.
Ryan Jameson
Software Development Services Manager