|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19311 header function with location not working
Submitted: 2002-09-09 07:22 UTC Modified: 2002-09-09 07:24 UTC
From: marpas9756 at mail dot drq dot pl Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: Win2000
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:
33 - 5 = ?
Subscribe to this entry?

 [2002-09-09 07:22 UTC] marpas9756 at mail dot drq dot pl
I try simple redirection script
header("Location: http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/sample.htm");
but my browser displaing only blank white window. Apache version is 2.0.40 with php working as module.
When I try to execute this script if php is working as cgi application everything is going ok.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-09 07:24 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Mar 24 07:03:43 2023 UTC