For selling a game: I am using PayPal shopping cart buttons, and am redirecting (On success) to a page which will ask them for their e-mail to send them a random code which will be added to a MySQL database, once the person opens the game (no help needed) it will go to the MySQL database and check if the users mac-address is in there, if not it will ask for the code they received in the e-mail, it will then check if it is in the MySQL database and then add the persons mac-address to it. THEN it will check if the mac-adress is in the database, if it is, it will let them to proceed to play the game. if not it will automaticaly close.
*Deep breath* What I need help with is to somehow protect the page that they get redirected to, so they can only give the e-mail if they were 're-directed' by PayPal. (Not if the previous page they were on was PayPal.)
Any help?
*Deep breath* What I need help with is to somehow protect the page that they get redirected to, so they can only give the e-mail if they were 're-directed' by PayPal. (Not if the previous page they were on was PayPal.)
Any help?
Last edited: