php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1189 SetCookie and Header error reporting improvement
Submitted: 1999-02-26 19:54 UTC Modified: 2002-01-12 13:08 UTC
From: lynch at cognitivearts dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: Any
Private report: No CVE-ID: None
 [1999-02-26 19:54 UTC] lynch at cognitivearts dot com
It would be really nifty if PHP remembered the file and line of the first character output when headers are finalized and sent, so that the Header() and SetCookie() functions could point to a specific place where the user screwed up when they are called after the headers have been finalized.

This feature would significantly reduce traffic on the PHP mailing list.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 13:07 UTC] jimw@php.net
refiled against 4.0, although with output buffering, it may not be as important.
 [2002-01-12 13:08 UTC] mj@php.net
This has been fixed at least in PHP 4.1.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 04:01:30 2024 UTC