Re: GET/POST "name=value" query var convention?
| From: | sagar | Date: | Thu, 30 Aug 2001 10:52:25 +0000 |
| Subject: | Re: GET/POST "name=value" query var convention? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65207@lists.php.net to get a copy of this message | ||
this might be u r asking for
while(list($key,$value)=each($HTTP_POST_VARS))
{
echo($key . " = " . $value);
}
this should be in the page to where the variables r posted
/sagar
----- Original Message -----
From: Scott Thomason <SThomaso@hii.com>
To: <php-general@lists.php.net>; <cgi-list@mail.jann.com>;
<webmaster-l@yahoogroups.com>; <zope@zope.org>
Sent: Friday, August 03, 2001 4:48 AM
Subject: [PHP] GET/POST "name=value" query var convention?
Does anyone know of a more-or-less authoritative source that states that the
common convention for HTTP GET/POST queries is a series of "name=value"
pairs joined by "&" characters? I know I'm not just making this up, but I
need to persuade someone that it is a commonly-accepted practice. Before you
look... it's not in the HTTP RFCs.
Also...would it be accurate to say that life as a PHP and/or ColdFusion
programmer is easier if the aforementioned HTTP GET/POSTs are performed in
this manner? I know as a frequent user of Perl's CGI.pm module that I take
this convention for granted.
---scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com