php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #696 Wariables: HTTP_GET_VARS and HTTP_POST_VARS arent generated correct at frames
Submitted: 1998-08-26 12:02 UTC Modified: 1998-08-26 12:09 UTC
From: gergo at dlux dot rulez dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.3 OS: Linux 2.0.35
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gergo at dlux dot rulez dot org
New email:
PHP Version: OS:

 

 [1998-08-26 12:02 UTC] gergo at dlux dot rulez dot org
I've got two frames.  top, bottom
<FORM ACTION=xx.html TARGET=bottom METHOD=POST>
....
.
.</FORM>

Values submitted via POST method:

           Warning: Variable passed to each() is not an array or object in /home/mp3admin/public_html/cdabcd/pages/content/lista.htm on line 66

line 66-67  

while (list($var, $value) = each($HTTP_POST_VARS)) {
    echo "$var = $value<br>\n";
}

The other paramethers are correct.

Using the GET method in the HTTP_GET_VARS array is only one parameter.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-26 12:09 UTC] rasmus
Frames has nothing to do with this.  track_vars probably isn't enabled.  See Question 5.1 in the PHP FAQ.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 14:01:34 2024 UTC