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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC