--- php-general <[EMAIL PROTECTED]> wrote:
> In php.ini, "safe_mode" is off, and "register_globals" is on.
[snip]
> "You have entered the following name: ..." is never displayed.
[snip]
> echo "You have entered the following";
> echo " Name: $vn $nn";
I guess you found a php.ini so
This works perfectly fine for me, as is.
fyi -- It doesn't matter what case "post" or "get" are in the code, the
global _GET and _POST will be populated properly.
- Original Message -
From: "php-general" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 11:24 AM
Su
From: "php-general" <[EMAIL PROTECTED]>
> I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box.
> In php.ini, "safe_mode" is off, and "register_globals" is on.
>
> I can enter names and submit them as often I like, but
> the statement from the if-block is never executed, i.e.
> the output "You
[snip]
";
}
?>
Please enter a Name and send the form:
2nd Name
1st Name
[/snip]
put "post" in all caps "POST".
try changing $vn to $_POST['vn']
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo