RE: how to use the same file...

From: Date: Wed, 29 Nov 2000 10:53:26 +0000
Subject: RE: how to use the same file...
Groups: php.general 
Request: Send a blank email to php-general+get-27795@lists.php.net to get a copy of this message
action="http://www.somewhere.com/blabla.php?******" in your php you simply check if there is anything in the passed in parameters and show the initial blank form if there isn't Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -----Original Message----- > From: Christian Dechery [mailto:lemming@vento.com.br] > Sent: 25 November 2000 14:11 > To: php-general@lists.php.net > Subject: how to use the same file... > > > How do I get PHP to build a form and process it in the same > blabla.php??? > > like... if you go to > "http://www.somewhere.com/blabla.php" > > it would only show the form to fill up, and the form action would be > "blabla.php"... it's that PHP_SELF stuff right? > but how can I tell if there where no GET parameters... should I check > QUERY_STRING or is there a better way of doing it? > ____________________________ > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer > >

« previous php.general (#27795) next »