RE: [PHP-WIN] POST
| From: | Matt Kynaston | Date: | Fri, 06 Sep 2002 11:39:11 +0000 |
| Subject: | RE: [PHP-WIN] POST | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15693@lists.php.net to get a copy of this message | ||
Try using $HTTP_POST_VARS (since form method="post").
Matt
> -----Original Message-----
> From: peter [mailto:peter@rinab.de]
> Sent: 06 September 2002 12:26
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] POST
>
>
> Hi,
>
> anybody who can help?
>
> I Try to post data from form test1.html and read in
> new_entry.php form (environment: Windows XP Prof. , Apache, PHP 4.0.5)
>
> test1.html
>
> <head>
> <form method="post" action="new_entry.php">
> <INPUT NAME="email" TYPE="Text" size=32></INPUT>
> <INPUT type=submit value=enter>
> </FORM>
> </body>
> </html>
>
> new_entry.php This one should display the posted variables
>
> <html>
> <body>
> <?php
> foreach($HTTP_GET_VARS as $key => $value) {
> print "$key = $value<br>";
> }
> ?>
> </body></html>
>