Jump to content

Referrer and Int Increase


ImJustBrndn

Recommended Posts

Ok, with the help of one of the moderators I've gotten most of the bugs worked out, except for two.

I want a confirmation.php page to be able to increase the "quantity" in table "products" by 1 everytime someone completes a paypal transaction, but I only want it to increase it by 1 if the person reaches the page from paypal.com I don't want someone to just be able to go to www.mydomain.com/confirmation.php and it increase the quantity without them paying. I only want it to increase it if the script says ok this person is being referred to this page from paypal, so that means they paid, so I can increase the quantity by one. Is there a way to do this in php, thanks for the help in advance.

Brandon
Link to comment
https://forums.phpfreaks.com/topic/18854-referrer-and-int-increase/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.