|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13538 The variable names do not use HTTP_*_VARS format
Submitted: 2001-10-04 05:47 UTC Modified: 2001-10-04 10:16 UTC
From: marco at starfarm dot it Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.0.6 OS: Linux Slackware 4.0
Private report: No CVE-ID: None
 [2001-10-04 05:47 UTC] marco at starfarm dot it
All the PHP variables do not have the name HTTP_*_VARS, where * = {GET,POST,ENV,SERVER,COOKIE}

They have a short name like:


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

A very simple phpinfo() shows all the variables in the last table with the "short version" of their name...




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-04 09:14 UTC]
Isn't it a great new feature? 
Both the long names and short names work.


 [2001-10-04 09:58 UTC] marco at starfarm dot it
That is not completely true...

The only vars that are working are the short ones...


 [2001-10-04 10:16 UTC]
Both work for me with latest CVS.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 18:01:29 2024 UTC