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 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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
24 - 16 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 23:01:29 2024 UTC