Page 1 of 1
Predefined Variables
Posted: Tue Feb 04, 2003 9:21 am
by Kriek
So, twiglet in 4.0.6 I would need to use $HTTP_GET_VARS instead of $_GET ??
Man I hate working for clients/hosts that don't upgrade.
Posted: Tue Feb 04, 2003 9:27 am
by twigletmac
Kriek wrote:So, twiglet in 4.0.6 I would need to use $HTTP_GET_VARS instead of $_GET ??
Yup, and if you use any of the $HTTP_xxx_VARS arrays in a function you need to remember to declare them as global:
Code: Select all
function myveryownfunction() {
global $HTTP_GET_VARS;
print_r($HTTP_GET_VARS);
}
Kriek wrote:Man I hate working for clients/hosts that don't upgrade.
It's nice when you can just upgrade the server yourself, although my webmaster overlord is a bit jittery about the upgrade to 4.3.0 which is frustrating but I'll win him round eventually.
Mac
Posted: Tue Feb 04, 2003 9:32 am
by Kriek
Thanks for confirming that chief! Much appreciated.
twigletmac wrote:It's nice when you can just upgrade the server yourself ...
That's true, my server is running 4.2.3, but this client's host is a pain in the butt; running 4.0.6 and they won't upgrade.
twigletmac wrote:... my webmaster overlord is a bit jittery about the upgrade to 4.3.0 which is frustrating but I'll win him round eventually.
Personally I'd like to upgrade mine to 4.3.0 just so I can use PEAR 1.0 =)