php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1512 invalid HTTP-date in header() example
Submitted: 1999-06-08 19:32 UTC Modified: 1999-06-09 00:21 UTC
From: szaka at sienet dot hu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.9 OS: any
Private report: No CVE-ID: None
 [1999-06-08 19:32 UTC] szaka at sienet dot hu
On http://www.php.net/manual/function.header.php3
the always modified (Last-Modified) example gives an
invalid HTTP-date (no space between time and GMT),
e.g:
Last-Modified:......23:59:40GMT 
this crashes some browser/robot.

The simplest fix is changing  "GMT" to " GMT".

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-09 00:21 UTC] paul at cvs dot php dot net
fixed in cvs
 [2022-04-12 10:24 UTC] git@php.net
Automatic comment on behalf of saundefined (author) and web-flow (committer)
Revision: https://github.com/php/doc-en/commit/764e22fefc8a3e46928a3f37bfd0b01789e5ac5f
Log: Update `array_combine` return values section (#1513)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC