Re: Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables
| From: | robert mischke | Date: | Sat, 17 Aug 2002 15:09:45 +0000 |
| Subject: | Re: Re: Upgraded to PHP 4.2.2 and completely lost all GET and POST variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113079@lists.php.net to get a copy of this message | ||
> PHP 4.1.2 (+) has register_globals turned off by default.
>
> Do either of the below to turn it on:
>
> 1.. Turn register_globals on in PHP.INI
> 2.. Use ini_set in one or more of the most commonly used
> files of the application to have register_globals turned on
> for that application. (I think a variant of PHP directive in
> Apache also achieves this effect. But not sure though).
> deepak@cssolutionsinc.com
Please correct me, but
AFAIK turn register_globals ON with ini_set() is to late,
you have to use .htaccess:
php_value "register_globals" "0"
greetings
robert
>
> > Education is a progressive discovery of our own ignorance.
> > Will Durant
> >