OK, Im an idiot, glad I caught myself before someone else did. I didnt see the PHP print statments. :)
Follow mikes advice on the register globals, and restarting the server. Or try using $HTTP_POST_VARS['user'] or $_POST['user']. -- Stewart On Mon, 25 Feb 2002, Stewart G. wrote: > Its not a register_globals issue. You must wrap $user and $address in php > print statements rather than just in the html. > > Your name is <?= $name ?>. > Your address is <?= $address ?>. > > That will work with either GET or POST. > > -- Stewart > > On Mon, 25 Feb 2002, Kostas Karadamoglou wrote: > > > I set the register_globals On in the php.ini file but when i do php.info it > > shows that is off.About the better way, How i can manipulate this variables, > > can you give me an exable. > > Thank you > > > > > > >From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> > > >To: 'Kostas Karadamoglou' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > >Subject: RE: [PHP] Problem about Reading input from a Form > > >Date: Mon, 25 Feb 2002 14:30:09 -0000 > > > > > > > -----Original Message----- > > > > From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]] > > > > Sent: 25 February 2002 14:09 > > > > > > > > I put and the POST method but I have the same problem > > > > I don't know why, any ideas? > > > > Thank you > > > > > > > > > > > > > >-----Original Message----- > > > > >From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]] > > > > >Sent: Monday, February 25, 2002 12:58 PM > > > > > > > > > >I can't take the variables $user and $address from the form > > > > to the php > > > > >file. > > > > > >Which version of PHP? Is register_globals set to Off? If it is, you can > > >either turn it On (if you have control of the server), or (better!) use the > > >$HTTP_POST_VARS (4.0) or $_POST (4.1) array. > > > > > >Cheers! > > > > > >Mike > > > > > >--------------------------------------------------------------------- > > >Mike Ford, Electronic Information Services Adviser, > > >Learning Support Services, Learning & Information Services, > > >JG125, James Graham Building, Leeds Metropolitan University, > > >Beckett Park, LEEDS, LS6 3QS, United Kingdom > > >Email: [EMAIL PROTECTED] > > >Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 > > > > > > > > > > _________________________________________________________________ > > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php