Re: HELP - POST method problem .......
| From: | RT | Date: | Wed, 16 Apr 2003 21:25:41 +0000 |
| Subject: | Re: HELP - POST method problem ....... | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19456@lists.php.net to get a copy of this message | ||
If I understand you right, all variables are past in a global array $_POST
you can use something like
foreach($_POST as $key => $value)
{
}
Look up foreach in the PHP manual for more information.
A. Mikkelsen wrote:
Thanks but how do i scan the varibales??? //Anders "B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message news:000301c30425$97215130$ce017c0a@3-hkg-02-0028.lumc.nl...order.php ??Is there a way to find the names of the variables POST'ed fromTo be more specific than my prvious answer: The client will send a HTTP response something like this: POST <showorder.php> Referer: http://<something> Connection: Keep-Alive User-Agent: <something> Host: <something> Accept: <something> Contentent-lenght: <length of the text that follows> <varibale name1>=<varibale content1> <varibale name2>=<varibale content2> <varibale name3>=<varibale content3> <varibale name4>=<varibale content4> <varibale name5>=<varibale content5> <varibale name6>=<varibale content6> <etc> You just have to scan all the <variable name#> to figure out what was created in the original HTML pages POST.