On Monday, April 22, 2002, at 10:28  AM, Tobias Lindqvist wrote:

>>> Hoe come I cant use $HTTP_*_VARS in my script ? I have
> register_globals
>>> on, track vars is also on and i have made the necessary changes in my
>>> apache config ( the ALLOWOVERRIDE ALL ). My system is Win XP, Apache
> (
>>> newest ) and newest PHP release.
>
>> You don't want to use $HTTP_*_VARS.
>
>> You want to use $_* ($_SESSION, $_COOKIE, $_GET, $_POST, $_SERVER, etc)
>
> Well, I cant use them either for some reason...

Sure you can.  You just hold down the shift key, press the number 4, 
then the dash-key next to the number zero, and then type 'g', 'e', and 
't'.  It should look like this:

$_GET

Next, you release the shift key and type the left-bracket key, followed 
by an apostrophe (singlequote).  Then type the name of the variable.  
Then type another apostrophe, and the closing bracket, like this:

$_GET['variablename']

Now you know how to use them.  If you continue to have problems, please 
try to describe them so that others on this list can come up with 
helpful information.  When you say "newest PHP release", I'm assuming 
you're talking about 4.1.2 or higher?


Erik




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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

Reply via email to