> -----Original Message-----
> From: Michael Davey [mailto:[EMAIL PROTECTED]]
> Sent: 31 May 2002 00:37
> 
> I can't say that I have moved over to the new superglobals 
> yet - I prefer
> register_globals cos I am lazy ;)
> 
> But it does seem that there are two possible variables that 
> you need to
> use - the one in your script ($HTTP_SESSION_VARS), but this 
> is only for
> 4.0.6 or less, it is $_SESSION otherwise - what version do you have
> installed?

Nope, that's not true -- $HTTP_*_VARS arrays are still around, as well as $_*, so 
existing scripts using them will continue to work.  The old names aren't even listed 
as deprecated, so it doesn't look like they're going to go away any time soon.

Having said that, if you're starting from scratch on version 4.1.0 or later, you 
should definitely go for the new $_* superglobals.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to