This seems to be completely unrelated to ldap at a first
glance. Have you actually installed the php.ini coming with
4.2.0 which DISABLES auto global variables like the
HTTP_USER_AGENT is one?
If so, either turn globals on for you or access it via the
special hashes (I think $_SERVER was for this one, not quite
sure though).
- Markus
On Tue, Apr 23, 2002 at 04:09:45PM -0600, Ryan Jameson (USA) wrote :
> 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
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php