php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22920 Post variables problem with CGI version
Submitted: 2003-03-27 03:51 UTC Modified: 2003-03-27 12:16 UTC
From: marcus at names dot co dot uk Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.1 OS: RedHat Linux 7.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marcus at names dot co dot uk
New email:
PHP Version: OS:

 

 [2003-03-27 03:51 UTC] marcus at names dot co dot uk
When running 4.3.1 as a CGI binary, with register_globals set to 'on', the first post variable contains all post variables.

For example, if you have a form with the variables (fields) and values var1=1, var2=2, var3=3, the following variables are set in the target script:

var1=1&var2=2&var3=3
var2=2
var3=3

I am running the CGI under Zeus Web Server 4.2. I am not sure whether the $HTTP_POST_VARS array is set correctly, and cannot check this as I have had to revert back to 4.2.3.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-27 12:16 UTC] iliaa@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Dupe of bug #22773
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC