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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 May 16 10:01:31 2024 UTC