Re: December 31 1969 Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I am running Squirrelmail 1.2.7 on FreeBSD 4.5, Apache1.3.26, PHP 4.2.2.
>
> Attic, most probly with a lot of security flaws.

On all four counts.  I understand "leaving well enough alone," but you
are very vulnerable running those version of that software.

> > I have noticed from time to time that I will get an email which shows a
> > date (when viewing the email) of December 31, 1969.
>
> This is impossible.

Not neccessarily.  PHP will render an empty date as 12/31/69, e.g.

$date = NULL;
echo date('Y-m-d', strtotime($date));

strtotime() will return a -1 on an invalid date, and PHP hapilly
accepts that as valid input for the timestamp parameter to date()
function, thus resulting in a return value of 1969-12-31 23:59:59 to
be exact.

> Without the headers, it is hard to tell.

Headers would be helpful.

Steve

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux