Bug #13538 Updated: The variable names do not use HTTP_*_VARS format
| From: | sniper@php.net | Date: | Thu, 04 Oct 2001 14:16:08 +0000 |
| Subject: | Bug #13538 Updated: The variable names do not use HTTP_*_VARS format | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67264@lists.php.net to get a copy of this message | ||
ID: 13538
Updated by: sniper
Reported By: marco@starfarm.it
Status: Bogus
Bug Type: Variables related
Operating System: Linux Slackware 4.0
PHP Version: 4.0.6
New Comment:
Both work for me with latest CVS.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-04 09:58:19] marco@starfarm.it
That is not completely true...
The only vars that are working are the short ones...
Regards,
Marco
------------------------------------------------------------------------
[2001-10-04 09:14:38] sniper@php.net
Isn't it a great new feature?
Both the long names and short names work.
--Jani
------------------------------------------------------------------------
[2001-10-04 05:47:58] marco@starfarm.it
All the PHP variables do not have the name HTTP_*_VARS, where * = {GET,POST,ENV,SERVER,COOKIE}
They have a short name like:
_GET["...
_POST["...
and so on
Main settings of the php.ini are:
gpc_order = GPC
register_argc_argv = Off
register_globals = Off
safe_mode = Off
variables_order = EGPCS
I am running Apache 1.3.20. The PHP I have tried so far are 4.0.7RC1 and 4.0.8-dev (I cannot use the
4.0.6 because of the bug http://bugs.php.net/bug.php?id=11776)
A very simple phpinfo() shows all the variables in the last table with the "short version"
of their name...
Regards,
Marco
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13538&edit=1