Re: querystring and PHP 4
| From: | Dave | Date: | Thu, 05 Dec 2002 00:10:59 +0000 |
| Subject: | Re: querystring and PHP 4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127066@lists.php.net to get a copy of this message | ||
php.ini file, find a line called...
register_globals = On
... and make
register_globals = Off
that's it.
"Dan Wade" <dan@hamparts.com> wrote in message
news:002f01c29bf1$73ed4b70$885a3cd1@hamparts.com...
> Hello,
>
> i'm grabbing querystring data like:
> www.myserver.com/foo.php?id=bar
>
> <?
> echo $id;
> ?>
>
> It works like a champ on dev server using php 3 but the sys admin
> use PHP 4 on the production box and the querystring is no longer being
> passed.
> I can't imagine this changed from version to version.
>
> Is he missing something in his install?
>
> thanks,
>
> -Dan
>