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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 7 = ?
Subscribe to this entry?

 
 [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: Fri Jun 14 12:01:29 2024 UTC