I am running squirrelmail 1.2 on two different SuSE Linux systems,
one running SuSE 7.1 which has PHP 4.04 and one with SuSE 7.3 which
has PHP 4.0.6.  Note that these are the latest SuSE-patched versions
that have fixes for some security issues backported into mod_php.

While the release notes for Squirrelmail 1.4 rc2a state that the PHP
version should be 4.0.4 or above, it does not work well on either
of these two systems.  At first everything seems to be OK, but then
I noticed a lot of "small bugs" that I tried to correct at first, but
then I discovered the bigger picture: the variable $_SERVER is not
loaded, so all references to elements of this array return empty
strings.

Reading PHP documentation I saw that this variable only exists from
version 4.1 of PHP and I started to replace it by $HTTP_SERVER_VARS
in some places, but then I discovered that there already is an attempt
to handle this by pointing $_SERVER to $HTTP_SERVER_VARS when the
version of PHP is below 4.1.
Apparently this does not work.  At least not for SuSE 7.1 and 7.3.
It seems to be ok for the other HTTP_xxx_VARS that are renamed to _xxx
in this same piece of code, but not for _SERVER.
Maybe because of the security fixes?

What might be going on here? Has anyone seen this problem?

Rob



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to