RE: [PHP-DEV] PHP 4.0 Bug #5596: SetCookie isn't compliant
| From: | Rasmus Lerdorf | Date: | Fri, 14 Jul 2000 01:11:52 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #5596: SetCookie isn't compliant | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24497@lists.php.net to get a copy of this message | ||
> It doesn't surprise me that they would change it, probably y2k concerns,
> however 2 or 4 digit year, doesn't matter as far was WAP is concerned
> actually. The only problem comes with the -'s, both examples, new and the
> original one, do have the dashes and will work on WAP. But, the way PHP is
> outputting them (Wdy, DD Mon YYYY HH:MM:SS GMT) will not work on WAP.
>
> >From our testing with WAP, the fully spelled out day works, 2 or 4 digit
> years work, but in any instance if the format is missing the dashes the
> cookie will not be set on a wireless web application.
>
> I believe that adding the dashes won't break any existing browsers to add
> them in since published specs call for them.
You could just toggle the y2k setting in your php.ini to get it working
right now. But this has been fixed in CVS now.
-Rasmus