Re: passing variable via url
| From: | Christian Reiniger | Date: | Mon, 05 Mar 2001 17:08:26 +0000 |
| Subject: | Re: passing variable via url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42634@lists.php.net to get a copy of this message | ||
On Monday 05 March 2001 17:43, you wrote:
> using PHP 3.x on Linux, I've always been able to pass along a variable
> like http://www.domain.com/index.php3?foo=bar
>
> and then I could print out this with something like
> echo $foo;
> would print out "bar"
>
> I've recently installed the latest PHP4 onto a Windows2000 server, I'm
> trying the same thing here, a simple test, and
> echo $foo;
>
> gives me nothing
>
> however including a PHPINFO() on the page displays this:
> HTTP_GET_VARS["foo"] bar
>
> I'm I missing something here ?
Check whether register_globals is set to "on"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
..to paraphrase Churchill, while representative democracy may be
terrible, it's still the best system that large corporations can buy.
- David Weinberger JOHO January 25, 2000