note 46106 deleted from function.gmstrftime by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 29 Sep 2004 23:17:22 +0000 |
| Subject: | note 46106 deleted from function.gmstrftime by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77597@lists.php.net to get a copy of this message | ||
Note Submitter: yellow dot snow at huskies dot com
----
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));
?>