php.net |  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
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:
11 + 9 = ?
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");
exit;
?>
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.

Patches

Pull Requests

History

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

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 09:01:27 2025 UTC