Bug #10997: Constant contains garbage

From: Date: Mon, 21 May 2001 12:54:12 +0000
Subject: Bug #10997: Constant contains garbage
Groups: php.dev 
Request: Send a blank email to php-dev+get-56041@lists.php.net to get a copy of this message
From: peter.valkov@total-graphics.com Operating system: Linux Mandrake 7.2 PHP version: 4.0.5 PHP Bug Type: HTTP related Bug description: Constant contains garbage After form data is submitted to the script i have up to 3 header('Location: '.$newPage); http redirects. In case i hit 3rd page where i have constant defined it is full with garbage !?!?! define("CONSTANT","value"); if (CONSTANT != "value") die("Why is that?!?"); If i hit this page with same parameters but not from http redirect or using PHP 4.0.4pl1 everything is woking fine. I can not expose entire script here because is quite big (2000 lines +). I'm using IE 5.5 SP1. Linux Mandrake 7.2 PHP 4.0.5 compiled --with-apxs --with-mysql --with-oci8 using egcs-2.91.66 libc-5.3.12 glibc-2.1.3 apache 1.3.14 -- Edit Bug report at: http://bugs.php.net/?id=10997&edit=1

« previous php.dev (#56041) next »