[PHP-DEV] PHP 4.0 Bug #5574: When I run the code that I submit here php is crashing From: post <email protected>
Date: 07/14/00

From: post <email protected>
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.";
        }
?>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>