Re: passing variables with HTTP_GET_VARS
| From: | AndreaD | Date: | Sat, 02 Apr 2005 17:24:10 +0000 |
| Subject: | Re: passing variables with HTTP_GET_VARS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212092@lists.php.net to get a copy of this message | ||
By the way these variables are not part of a form they are just generated by
index.php
"AndreaD" <andrea.davidson@silene.co.uk> wrote in message
news:20050402172123.69865.qmail@lists.php.net...
> Can someone show me a simple example of how to make variables availble to
> all pages in my site via $http_post_vars and $http_get_vars.
>
>
> just say I have a page index.php and that is doing a calucualtion and
> creating a couple of variables called $age and $height.
>
> How so I make these variables globally available and how do all the other
> pages show/retrieve them??
>
>
> Many Thanks
>
>
> AD