Re: [PHP4BETA] cvs: /php4 php.ini-dist
| From: | Kristian Köhntopp | Date: | Thu, 24 Feb 2000 16:10:37 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 php.ini-dist | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10867@lists.php.net to get a copy of this message | ||
Adam Trachtenberg wrote:
> Are we sure this is right? I thought y2k_compilance had to with Web
> browser y2k issues, not PHP issues. Just because we're past the beginning
> on y2k doesn't mean people have upgraded their browsers, this will break
> cookies for people using Netscape 3.x and below.
>
> http://www.php.net/y2k.php3
It makes PHP4 use four digit year numbers in ./ext/standard/datetime.c
as per
snprintf(str, 80, "%s, %02d-%s-%04d %02d:%02d:%02d GMT",
compared to
snprintf(str, 80, "%s, %02d-%s-%02d %02d:%02d:%02d GMT",
This date is used in http headers such as cookie headers generated
by PHP. Apache is using four digit year numbers everywhere anyway,
for example Date and Last-Modified.
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.netuse.de/ (We have moved! Update your
bookmarks!)