|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jblag at hotmail dot com
New email:
PHP Version: OS:


 [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: Sun Oct 01 04:01:24 2023 UTC