Re: Super Gloabals Array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Elvie Limbo wrote:
> Is it possible to put information into $_REQUEST super global array with
> using POST or GET?
> My problem is that I need information to be available globally but I don't
> want to use a form to do it.
> Any pointers would be greatly appreciated.

Errrr.  Yeah, I guess...

$_REQUEST starts off with $_POST/$_GET/$_COOKIES in it, but if you cram
something else in there, it's going to be there, almost for sure.

It's *NOT* a Good Idea, though.

What are you storing?

Just make your own arayy $_FOO and then declare it global in any functions
that use it.

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux