[PHP-DEV] Bug #696: Wariables: HTTP_GET_VARS and HTTP_POST_VARS arent generated correct at frames From: gergo <email protected>
Date: 08/26/98

From: gergo <email protected>
Operating system: Linux 2.0.35
PHP version: 3.0.3
PHP Bug Type: Misbehaving function
Bug description:
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.

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>