Re: to read unknown input
| From: | Andy Hoffman | Date: | Fri, 25 Aug 2000 13:52:26 +0000 |
| Subject: | Re: to read unknown input | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2144@lists.php.net to get a copy of this message | ||
I wrote:
> Try the php variable $HTTP_POST_VARS or $HTTP_GET_VARS (depending on whether
> this form was sent to your script in get or post mode).
Just found a good example on php.net...
http://www.php.net/manual/function.each.php
<?php
echo "Values submitted via POST method:<br>";
reset ($HTTP_POST_VARS);
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
echo "$key => $val<br>";
}
?>
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com