Bug #10997 Updated: Constant contains garbage

From: Date: Tue, 22 May 2001 22:03:31 +0000
Subject: Bug #10997 Updated: Constant contains garbage
Groups: php.dev 
Request: Send a blank email to php-dev+get-56368@lists.php.net to get a copy of this message
ID: 10997 Updated by: sniper Reported By: peter.valkov@total-graphics.com Old-Status: Open Status: Feedback Bug Type: HTTP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Can't reproduce. Please include short scripts and instructions how to reproduce this. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-21 14:54:12] peter.valkov@total-graphics.com 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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10997&edit=2

« previous php.dev (#56368) next »