Re: [Quickform] isSubmitted() returns TRUE when it should not

From: Date: Wed, 26 Oct 2005 15:37:24 +0000
Subject: Re: [Quickform] isSubmitted() returns TRUE when it should not
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21646@lists.php.net to get a copy of this message
Here's an example with SmartyStatic_example.php : The file is called "testsubmit.php". <?php if(!isset($_REQUEST['thing'])) { echo " <html> <body> <form action=\"testsubmit.php\" name=\"form\" method=\"post\"> <input name=\"thing\" type=\"hidden\" value=\"something\"/> <input name=\"btnSubmit\" type=\"submit\" value=\"go\" /> </form> </body> </html>"; } else {
    require_once('SmartyStatic_example.php');
} ?>

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.pear.general (#21646) next »