The action tag does not work when you have the GET method on. To retrieve information from the form you should use POST. Well at least that's how it has worked for me anyway ;P ----- Original Message ----- From: "aRZed" <paradox@xxxxxx> To: <php-windows@xxxxxxxxxxxxx> Sent: Monday, August 23, 2004 10:00 AM Subject: Re: HELP - varible not passing from form > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php