Re: Cookies now have slashes
| From: | Stanislav Malyshev | Date: | Tue, 23 May 2000 10:31:10 +0000 |
| Subject: | Re: Cookies now have slashes | ||
| References: | 1 | Groups: | php.migration |
| Request: | Send a blank email to php-migration+get-7@lists.php.net to get a copy of this message | ||
On Tue, 23 May 2000, Allan Hansen wrote:
AH>> An important change: Cookies have added slashes.
AH>>
AH>>
AH>> setcookie('cookie', "'\"\\");
AH>>
AH>> $cookie will contain '"\ in PHP3
AH>> but \'\"\\ in PHP4.
I think that depends on magic_quotes_gpc variable.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665