php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17222 header("Location: ...") doesn't work properly
Submitted: 2002-05-14 18:18 UTC Modified: 2002-05-15 14:33 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: ceefour at indoglobal dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.2.0 OS: Windows2000 Pro (SP: RC3.51)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ceefour at indoglobal dot com
New email:
PHP Version: OS:

 

 [2002-05-14 18:18 UTC] ceefour at indoglobal dot com
The script:

header("Location: http://www.yahoo.com/");

This wouldn't work at all, and my Apache returns an empty result. With a 500 status. Very weird.

I use Apache 1.3.24-Win32 (precompiled binary) and I use php as a module.

The exact same script using PHP 4.1.2 works fine (no modification at all to Apache configs or even php.ini!!)
I'm downloading 4.2.1 now and will update this (if possible) when I've tried it...

enabled PHP extensions: gd & zlib

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-15 07:41 UTC] Leblanc at somewhere dot com
Works just fine on my Apache 1.3.24 with PHP 4.2.0 as a module.

(Just copied/pasted the stuff)

/Leblanc
 [2002-05-15 14:33 UTC] sander@php.net
You're very likely to do something wrong. Please ask support on the appropriate mailinglist.
 [2002-05-17 12:32 UTC] hubweb at hotmail dot com
What if you try :
Header("Location: http://www.yahoo.com\n");
??
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 15:01:33 2024 UTC