[PHP] No variables imported on form POST

2002-08-21 Thread Jason Annin-White
When I do an HTTP POST to a PHP application on my web server, it is not importing the from values as variables. For example, ?php if ($submit == click){ echo Hello, $UserName; }else{ echo ' htmlbody form method=POST action=test1.php Enter Your Name input type=text

Re: [PHP] No variables imported on form POST

2002-08-21 Thread Bill Leonard
Did you just recently upgrade to PHP v 4.2.x? It has changed the way it handles variables. Check: http://www.php.net/manual/en/language.variables.predefined.php on 8/21/02 5:05 PM, Jason Annin-White at [EMAIL PROTECTED] wrote: A simple example form, there is no value $submit after a POST.

Re: [PHP] No variables imported on form POST

2002-08-21 Thread Jason Annin-White
You are correct Bill, problem solved, thank you. Jason White - Original Message - From: Bill Leonard [EMAIL PROTECTED] To: Jason Annin-White [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 2:13 PM Subject: Re: [PHP] No variables imported on form POST Did you