Re: help on cookies please
| From: | dohman | Date: | Thu, 09 Aug 2001 01:09:15 +0000 |
| Subject: | Re: help on cookies please | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8726@lists.php.net to get a copy of this message | ||
thanks, both ideas worked :-)
chris
"Jan Matejka" <Jan.Matejka@koncept.cz> wrote in message
news:F588A74436B3D311956A006097B884C130215B@nt3.psoft.com...
> have a look into your PHP.INI:
>
> ; - register_globals = Off
> ; Global variables are no longer registered for input data (POST, GET,
> cookies,
> ; environment and other server variables). Instead of using $foo, you
> must use
> ; $HTTP_POST_VARS["foo"], $HTTP_GET_VARS["foo"],
> $HTTP_COOKIE_VARS["foo"],
> ; $HTTP_ENV_VARS["foo"] or $HTTP_SERVER_VARS["foo"], depending on
which
> kind
> ; of input source you're expecting 'foo' to come from.
>
> In order to find cookie in $testcookie, you must set
> register_globals = On
>
> otherwise you must use $HTTP_COOKIE_VARS["testcookie"] instead
>
> bye
> MaT