RE: [PHP-WIN] POST
| From: | Matt Kynaston | Date: | Fri, 06 Sep 2002 13:04:40 +0000 |
| Subject: | RE: [PHP-WIN] POST | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15694@lists.php.net to get a copy of this message | ||
That's _exactly_ what's appearing in your browser? Then the file is not
getting parsed by PHP (your browser ignores everything between the "<" and
the first ">"; if you view source you should see the whole script).
Check your web server's setup to make sure it passes files with extension
'.php' to php.exe (or php.dll if you're using ISAPI). Check
http://www.php.net/manual/en/installation.php.
> -----Original Message-----
> From: peter [mailto:peter@rinab.de]
> Sent: 06 September 2002 13:03
> To: Matt.Kynaston@etbroker.com
> Subject: Re: [PHP-WIN] POST
>
>
> Doesnt't work (tried POST and GET).
>
> Result is always
>
> $value) { print "$key = $value
> "; } ?>
>
> Any idea how i can get the mailing list
>
> 375: Re: [PHP-WINDOWS] PHP don't capture http variables
> 10 Jun 2000 Matthew Kendall
>
> probably this would help.
>
> Any other idea,
>
> Peter
>
> ----- Original Message -----
> From: "Matt Kynaston" <Matt.Kynaston@etbroker.com>
> To: <php-windows@lists.php.net>
> Sent: Friday, September 06, 2002 1:39 PM
> Subject: RE: [PHP-WIN] POST
>
>
> > 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>
> > >
> >
>
>
>