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.
Predefined Variables
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Yup, and if you use any of the $HTTP_xxx_VARS arrays in a function you need to remember to declare them as global:Kriek wrote:So, twiglet in 4.0.6 I would need to use $HTTP_GET_VARS instead of $_GET ??
Code: Select all
function myveryownfunction() {
global $HTTP_GET_VARS;
print_r($HTTP_GET_VARS);
}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.Kriek wrote:Man I hate working for clients/hosts that don't upgrade.
Mac
Thanks for confirming that chief! Much appreciated.
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:It's nice when you can just upgrade the server yourself ...
Personally I'd like to upgrade mine to 4.3.0 just so I can use PEAR 1.0 =)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.