--- 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
CTED]>
Sent: Tuesday, June 01, 2004 11:24 AM
Subject: [PHP] PHP Basic's Problem with a simple script.
Hi !
I am an unexperienced PHP newbie, and a have a Problem:
The following script is a sample from a PHP tutorial,
but it does not work on my machine.
I use PHP Ver. 4.1.2 with apache 1.
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
Hi !
I am an unexperienced PHP newbie, and a have a Problem:
The following script is a sample from a PHP tutorial,
but it does not work on my machine.
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.
The script from the mentio
5 matches
Mail list logo