Re: Super Gloabals Array
| From: | Richard Lynch | Date: | Mon, 10 Jan 2005 17:06:02 +0000 |
| Subject: | Re: Super Gloabals Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205979@lists.php.net to get a copy of this message | ||
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