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:[EMAIL PROTECTED]]
> Sent: 06 September 2002 13:03
> To: [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > > Sent: 06 September 2002 12:26
> > > To: [EMAIL PROTECTED]
> > > 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>
> > >
> >
>
>
>

Reply via email to