Re: POST detection

From: Date: Thu, 12 Jun 2003 21:18:04 +0000
Subject: Re: POST detection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151312@lists.php.net to get a copy of this message
if ( isset($_POST['var_1']) and isset($_POST['var_2']) ) { your code } ----- Original Message ----- From: "Johnny Martinez" <jmartinez@citrusglobal.com> To: "PHP General" <php-general@lists.php.net> Sent: Thursday, June 12, 2003 5:08 PM Subject: [PHP] POST detection > Hi all, > I have a self referring script that $_POST's two times at the beginning. The > problem is that the first time the script comes up those two $_POST vars > aren't being submitted and the webserver complains. > > If I could detect if the vars were passed and if not then skip that would be > great. What's a good trick to detect for the first time? > > Johnny > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#151312) next »