Hi there.

I hope this is not a too stupid question.

When -as I used to- using $HTTP_POST_VARS, I can write the following:

echo $HTTP_POST_VARS->somevar;

which will, of course, echo the value stored in somevar sent via POST,
same as if I wrote

echo $HTTP_GET_VARS->somevar;

So far, so goot. But this doesn't seem to work with $_REQUEST.
Here it looks like I had to use $_REQUEST["somevar"].

It's not that this would not be possible. But on the one hand I
think the "arrow-notation" is nicer and easier to read, on the other
hand I would be quite interested in the WHYNOT behind this ;)

Can you give me a hint? Or at least some place where I could start reading
and would find an explanation, not only "you have to use..."?

Thanxx
Kiko

-- 
It's not a bug, it's a feature.
christoph starkmann
http://www.gruppe-69.com/
mailto:[EMAIL PROTECTED]
-- 

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

Reply via email to