Jump to content

BASEBALL REGISTRATION


phpretard

Recommended Posts

I am puting together some registration pages for my sons baseball park.

 

The park requires you pay through paypal before you can fill out the registration form. 

 

No problem I just grab the "tx" that palpal sends back on the return to the site.

 

If you have that on entering the page then your good else your not good. 

 

After submission...the thank you page.  Here in lies the problem. 

 

PROBLEM = Press the back button on the thank you page and you can fill in and submit the form again.

 

Thank you all for your thought.

 

-Anthony

Link to comment
Share on other sites

Once the form is submitted, create a session... say, $_SESSION['has_payed'] = 1;

 

Now, whent he user presses the back button and fills out the form, have it so if $_SESSION['has_payed'] == 1; give him a message, rediect him, whatever floats your boat.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.