To add on to this question, I have an upload script that I use on my site and
now that I have registered globals off, I can't seem to find where the
auto-generated $*_name $*_type $*_size variables are going...

Anyone have any insight? I thought they would be in $_POST['$*_name'] but they
aren't showing up there.

Help is appreciated,

Zara

-----Original Message-----
From: Gonzalez, Zara E 
Sent: Friday, January 25, 2002 10:02 AM
To: 'PHP-General'
Subject: [PHP] Question: $_* etc or $HTTP_*_VARS etc


I am going through some code that I wrote recently and trying to change it so
that I can turn register globals off in my php.ini. However, before I do that I
want to make sure I am using the right variables.

I read in the manual that $HTTP_*_VARS has been 'replaced' by $_* is this
correct? Should I be using $_* syntax then? 

The only reason I am asking instead of trusting the manual is because I'd hate
to have misread something and thought I understood it, recoded my site, and then
realized I used the wrong variables. So if someone could just tell me one or the
other I'd be happy.

(Oh I'm using php 4.1.1 if that makes a difference since I believe the manual
said the $_* syntax started at 4.1.0?)

Thanks,

Zara

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To contact the
list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to