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
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:
MUST BE VALID
Solve the problem:
49 - 38 = ?
Subscribe to this entry?

 
 [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 16:01:36 2024 UTC