> -----Original Message-----
> From: Stephen [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2003 21:04
> 
> I, once I found out that register_globals isn't always one, 
> have always done HTTP variables as like $_SESSION for session 
> and $_POST for form vars through post. Why, if you have 
> register_globals off does it return T_error?

Why does *what* return T-error?

If this is an error message, please cut-and-paste the exact error message, and the 
relevant section of code indicating which line is the one on which the error occurs.

>  Should I jsut 
> replace my old ways with $HTTP_SESSION_VARS for sessions and 
> $HTTP_POST_VARS for posted form vars from now on or what?

Probably not.  The $_* versions are the newer ones, and you should use them if you 
have a recent enough version of PHP -- but if your PHP is older than 4.1.0 (in which 
case: why?), you will need to use the $HTTP_*_VARS versions.

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