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' t
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
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
new_entry.php This one should display the posted variables
$value) {
print "$key = $value";
}
?>
Check your php.ini and make sure that register_globals is turned on.
Either that or use:
if ($_REQUEST['a'] == "X")
which will give you the variable if its posted, in the query string or a
cookie.
Second is better in terms of portable code.
Matt
> -Original Message-
> From: Sandeep Mur
hi,
i chked on my local m/c and it works fine... though i hv win 2k prof on my PC... Can u
test the code on another PC??
-Original Message-
From: hans [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 6 de Setembro de 2002 8:09
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] problem with querystri
hi there,
i'm having this very strange problem using a querystring... to illustrate me
problem i have this file:
a: >
b: >
called test.php... when i open the url tesp.php?a=X the checkbox doesn't get
checked, and as far as i know some PHP it should be... i'm having this
problem with every q