php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15090 header("Location: $url") causes php.exe to generate an error
Submitted: 2002-01-17 17:21 UTC Modified: 2002-01-18 23:54 UTC
From: kmudrick at clement dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kmudrick at clement dot com
New email:
PHP Version: OS:

 

 [2002-01-17 17:21 UTC] kmudrick at clement dot com
After a lengthy script, I go to redirect to another page, using 

header("Location: $redirect_page?PHPSESSID=$sid") 

where $redirect_page is the address to goto.. Anyway, this causes a windows "php.exe has generated an error" message, while using a 

print "<META http-equiv=\"refresh\" content=\"0; URL=$redirect_page?PHPSESSID=$sid\">";

works just fine, with no error generated.  The page is using session variables.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-18 03:56 UTC] mfischer@php.net
Please try with latest 4.1.1, it may have been fixed already.
 [2002-01-18 15:58 UTC] kmudrick at clement dot com
Upgrading to 4.1.1 seemed to work!
 [2002-01-18 23:54 UTC] irc-html@php.net
Status -> Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 18:01:30 2024 UTC