Re: Form Variable Problem

From: Date: Thu, 15 Jun 2000 02:57:15 +0000
Subject: Re: Form Variable Problem
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-463@lists.php.net to get a copy of this message
Yes, that's just the point! I'm using PHP3 manual for learning PHP4, and it seems that I need to find a PHP4 manual or tutorial for learning. Michael Shan Christopher Dray <cdray@home.com> wrote in message news:3947A0A1.BCB8CC73@home.com... > Michael Shan wrote: > > > I'm learning PHP by using PHP4.0 with Window NT 4.0, IE 5.0 and IIS, > > and I write a form in a page just as mentioned in the tutorial of PHP > > Web Site: > > > > <form method="post" action="result.php"> > > Your Name: <input type=text name="name"><br> > > Your Age: <input type=text name="age"><br> > > <input type=submit> <input type=reset> > > </form> > > > > and I display the submitted varibles in another page: > > > > <? > > echo $HTTP_POST_VARS["name"].", you are > > ".$HTTP_POST_VARS["age"]." years > > old."; > > echo $name; > > ?> > > Could it be that 'register_globals' is set to off in you 'php.ini'. > I'm learning > as well, so I could be wrong, but it seems worth a try. I noticed that > 'register_globals' defaults to off in the optimised ini. > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#463) next »