help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-GIFT] PHP interface running on PHP > 4.2.0 (was PHP problem partia


From: John Restrepo
Subject: [help-GIFT] PHP interface running on PHP > 4.2.0 (was PHP problem partially solved)
Date: Wed, 06 Nov 2002 16:37:12 +0100

Hi All,

If you are running PHP > 4.2.0 the PHP interface won't work. This is because of the changes in this new version to the way PHP handles globals and superglobals. As an emergency you can add this snippet to client.php (at the beginning of the file)


if(phpversion() >= "4.2.0") {
        extract($HTTP_POST_VARS);
        extract($HTTP_GET_VARS);
}


It will work, but be aware that this is not the best solution, but works. Eventually the code should be corrected to operate with the new versions of PHP...

Cheers,






________________________________________
John Restrepo <address@hidden>
TU Delft
Industrieel Ontwerpen
Landbergstraat 15 Kamer 10-4B-39
2628CE Delft
The Netherlands
Phone +31 15 278-5146 Fax +31 15 278-7179
________________________________________







reply via email to

[Prev in Thread] Current Thread [Next in Thread]