|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20475 header() doesn't work after mail function used
Submitted: 2002-11-18 02:12 UTC Modified: 2002-11-18 02:16 UTC
From: jblag at hotmail dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.2.0 OS: LINUX
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:
Solve the problem:
37 - 6 = ?
Subscribe to this entry?

 [2002-11-18 02:12 UTC] jblag at hotmail dot com

After using the mail function, the header("Location....) function to upload a new page doesn't work. The destination page is the page containing the header instruction. The script not scratched, a print after the header print works fine; 

I use header function in another scripts and all is OK. 

How can I replace the header function (using JS for example) ? 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-18 02:16 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 04:01:27 2023 UTC