Re: php-windows Digest 11 Jul 2003 19:46:14 -0000 Issue 1820

From: Date: Sat, 12 Jul 2003 00:11:06 +0000
Subject: Re: php-windows Digest 11 Jul 2003 19:46:14 -0000 Issue 1820
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20776@lists.php.net to get a copy of this message
Usually I run some javascript to set the 'disabled' attribute for the submit button, then check the attribute is set when the user trys to press the submit button again. This works in IE cause the button is actually disabled. It is not disabled in netscape, however the value dsaibleds is set. Therefore, checking if submit.disabled=true allows you to trap this. Return 'false' to your form submit code and the form will not submit again. HTH Cheers - Neil. At 19:46 11/07/2003 +0000, you wrote:
From: "Matt Babineau" <matt@criticalcode.com> To: <php-windows@lists.php.net> Date: Thu, 10 Jul 2003 22:01:34 -0700 Message-ID: <001301c34769$81196850$0300a8c0@webdevx> MIME-Version: 1.0 Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_0014_01C3472E.D4BA9050"
Subject: How do I prevent double posts? > Using CURL + Authorize.NET I have a CURL+Authorize.net solution in place, how can I prevent double posts to authorize.net when I post the payment info to the page? What are some good solutions you have in place? Thanks, Matt Babineau www.criticalcode.com


« previous php.windows (#20776) next »