Re: Passing parameters in forms

From: Date: Wed, 12 Feb 2003 23:40:56 +0000
Subject: Re: Passing parameters in forms
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18506@lists.php.net to get a copy of this message
Hello. Try checking the source of the file (in IE View > Source) and if you see <FORM ACTION="" METHOD="POST"> instead of the file/script name try using <FORM ACTION="<?php echo ($_POST["PHP_SELF"]); ?>" METHOD="POST"> instead. Hope that helps. ^_^ -- o-juice@o-juice.za.net "Apollo" <amcogal@hotpop.com> wrote in message news:20030207005239.17272.qmail@pb1.pair.com... > Hi there, > > I am using Windows XP as my IIS platform, I have this code: > > <form action="<?php print $PHP_SELF?>" method="POST"> > Type your name here: <input type="text" name="myName"> > </form> > > even though i have typed a text on the textfield, $myName is still blank > after I pressed enter. I have done all the settings i must do according to > the installation manual, is there something else i should do? > > I am a newbie, please help. Thanks. > >

« previous php.windows (#18506) next »