Bug #16842 Updated: header() function doesn`t work

From: Date: Wed, 01 May 2002 04:45:48 +0000
Subject: Bug #16842 Updated: header() function doesn`t work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6602@lists.php.net to get a copy of this message
 ID:               16842
 Updated by:       irik@irik.org
 Reported By:      sanya@mail.ru
 Status:           Bogus
 Bug Type:         HTTP related
 Operating System: Windows XP
 PHP Version:      4.2.0
 New Comment:

I have experienced this same bug on my systems.  I upgraded from PHP
4.1.2 on W2k Professional running Apache 1.3.20 to PHP 4.2.0.  header()
function seems to stop working.

<? header("Location: http://www.queenstown.com"); ?>

In any browser, no workie, workie, just blank page.

Downgrade to PHP 4.2.1 and the problem disappears.

A search of bug database on version 4.2.0 on all issues and all status'
returns 244 results as of May 1, 2002 and this is the only mention of
header() not working.


Previous Comments:
------------------------------------------------------------------------

[2002-04-27 14:46:17] wodzu@tonet.pl

<?php
    header("Location: http://localhost/");
?>

WinXP/Apache1.3.22/Apache module/Standard setup, standard modules

On MSIE 6.0 and Netscape 6 nothings happen. Script start and normal end
without any error (error_reporting  =  E_ALL). But I'm still on testing
page. It seems just don't work and without any errors. I check
configuration hundred times but with nothing :(

------------------------------------------------------------------------

[2002-04-26 02:25:16] derick@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".


------------------------------------------------------------------------

[2002-04-26 02:03:12] yohgaki@php.net

You are supposed to search bug DB, first....
There are sevral duplicated reports for this.

------------------------------------------------------------------------

[2002-04-26 01:20:02] sanya@mail.ru

It seem that header() function doesn`t work. Test was quite simle
script with few lines of code (server-side redirection).

------------------------------------------------------------------------

[2002-04-26 01:16:11] sanya@mail.ru

It seem that header() function doesnt work. Ive tested this in simle
script with few lines of code (server-side redirection).



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16842&edit=1



Thread (25 messages)

« previous php.bugs (#6602) next »