#21919 [NEW]: wrong PHP superglobalname in apache environment

From: Date: Tue, 28 Jan 2003 13:03:21 +0000
Subject: #21919 [NEW]: wrong PHP superglobalname in apache environment
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31460@lists.php.net to get a copy of this message
From: tolga@kadikoy-bld.gov.tr Operating system: AIX 4.3.3 PHP version: 4.3.0 PHP Bug Type: Apache related Bug description: wrong PHP superglobalname in apache environment Hello, Apache version : IBM_HTTP_Server/1.3.12.3 Apache/1.3.12 OS : AIX 4.3.3 Maintenance Level 10 applied I'm trying build a cookie based session system but an interesting problem occurs.When i use setcookie() function, it sends cookie to browser (and browser stores it) but i don't use cookie with $cookievariable.After a little inspection ( :) ) i found this result : -------------- Apache env. superglobal name : value HTTP_COOK0E : mytestcookie=mytestval HTTP_CONNECT0ON : Keep-Alive -------------- it seems wrong superglobal names here (I -> zero) if i use echo "$HTTP_COOK0E"; it works fine but if i use $HTTP_COOKIE not work. -- Edit bug report at http://bugs.php.net/?id=21919&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21919&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21919&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21919&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21919&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21919&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21919&r=support Expected behavior: http://bugs.php.net/fix.php?id=21919&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21919&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21919&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21919&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21919&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21919&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21919&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21919&r=gnused

« previous php.bugs (#31460) next »