note 46106 added to function.gmstrftime

From: Date: Wed, 29 Sep 2004 17:14:41 +0000
Subject: note 46106 added to function.gmstrftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-77576@lists.php.net to get a copy of this message
According to RFC 2616, header lines must be an RFC-1123 date, so a full four digit year, an abbrevieated weekday with a comma after it and no hyphens, thus: <?php header ("X-ample: " . gmstrftime ("%a, %d %b %Y %T %Z", $timestamp)); ?> ---- Manual Page -- http://www.php.net/manual/en/function.gmstrftime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46106 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46106&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46106&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77576) next »