Ok I need help setting up a postback script in PHP for an affiliate program.
Example:
http://example.com//postback.php?appId=2798&userId=12345&amount=10&hash=8b44493ab7b37a6e47ca2f8726b87563
How would I script something that would take the postback info and look up the user and give them the amount shown while checking the hash. I am very confused by all this and very new. I also need it to reply to the poastback with a 1 for success and 0 for failure.