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
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.
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
3 matches
Mail list logo