[chora] Problem with cached mimetypes in mime.php
Anil Madhavapeddy
anil@recoil.org
Mon, 2 Apr 2001 16:03:24 +0100
Chuck Hagenbuch wrote:
> Quoting Todd Kirby <kirbyt@yahoo.com>:
>
> > I see that the check-in date on the updated
> > 'mime.php' file is December 31 1969. Is there a
> > problem with the clock on the cvs.horde.org server?
> >
> > http://cvs.horde.org/cvs.php/chora/config
>
> Wow, cool! We haven't changed that file in over 30 years!
>
Not my fault guv'nor! ;-) Look at:
http://www.horde.org/~avsm/mktime.phps
http://www.horde.org/~avsm/mktime.php
Note that mktime() is returning -1 for this perfectly valid date.
Same script on PHP-4.0.5RC4 on demo.horde.org:
http://brick.recoil.org/~avsm/mktime.phps
http://brick.recoil.org/~avsm/mktime.php
Gives the right value back. Can anyone who has a copy of PHP-4.0.4pl1
running somewhere confirm that the one-line script above is broken on that
version (I don't have that version anymore) ? Might be a FreeBSD specific
issue, otherwise.
Anil