PHP 4.0 Bug #5574: When I run the code that I submit here php is crashing
| From: | post at jfl dot dk | Date: | Fri, 14 Jul 2000 08:52:04 +0000 |
| Subject: | PHP 4.0 Bug #5574: When I run the code that I submit here php is crashing | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24411@lists.php.net to get a copy of this message | ||
From: post@jfl.dk
Operating system: WinNT Workstation SP 6a
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Reproduceable crash
Bug description: When I run the code that I submit here php is crashing
<?
// 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.";
}
?>