Ted Shaw wrote:
G'day -
I've just installed PhP 4.3.8 for win - running Win2000. Php seems to running ok but when I attempt to use "<form method="get" action="http://localhost/filename"> What is your name: <input type="text" name="Name"> <input type="submit">
The info I type into the text box on the htm page gets passed on the url to the php page, but I get a "Variable Undefined" error in body of php page. There's no problem with case in variable name.
Have tried everything I know (which is not much)
Any help greatly appreciated.
register_globals is normally turned off on a standard installation.
if you use $Name: try using $_GET["Name"] instead of $Name.
It is generally a good idea to use those arrays instead of turning register_globals on.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php