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

From: Date: Tue, 28 Jan 2003 13:05:21 +0000
Subject: #21919 [Opn]: wrong PHP superglobalname in apache environment
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31461@lists.php.net to get a copy of this message
ID: 21919 User updated by: tolga@kadikoy-bld.gov.tr Reported By: tolga@kadikoy-bld.gov.tr Status: Open Bug Type: Apache related Operating System: AIX 4.3.3 PHP Version: 4.3.0 New Comment: of course i'm using register_globals = On Previous Comments: ------------------------------------------------------------------------ [2003-01-28 07:03:21] tolga@kadikoy-bld.gov.tr 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 this bug report at http://bugs.php.net/?id=21919&edit=1

« previous php.bugs (#31461) next »