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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 04:00:01 2026 UTC