php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5574 When I run the code that I submit here php is crashing
Submitted: 2000-07-14 04:52 UTC Modified: 2002-02-11 00:00 UTC
From: post at jfl dot dk Assigned:
Status: No Feedback Package: Reproducible Crash
PHP Version: PHP Version 4.0.1pl2 with Zend Optimizer v0.99 OS: WinNT Workstation SP 6a
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: post at jfl dot dk
New email:
PHP Version: OS:

 

 [2000-07-14 04:52 UTC] post at jfl dot dk
<? 
	// http://www.zend.com/codex.php?id=8&single=1
	if ($MODE!=="test") { 
		SetCookie("COOKIE", "VALUE"); 
		Header("Location: ".$SCRIPT_NAME."?MODE=test"); 
		exit; 
	} else if ($COOKIE=="VALUE") { 
		echo "You've got cookies!"; 
	} else { 
		echo "Turn on cookies, Mr. Paranoid."; 
	} 
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-14 05:20 UTC] stas at cvs dot php dot net
Please try recent version (4.0.1pl2) and report if it still crashes.
 [2000-07-14 09:54 UTC] post at jfl dot dk
stas: I am running PHP Version 4.0.1pl2 with Zend Optimizer v0.99 on a WinNT Workstation with SP 6a
 [2002-02-11 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC