Hey. I've been coding a couple of simple scripts and in one the user pays for his (or her) purchase via PayPal and then is redirected to a page on my server. Is there any code I can put on this page to check that it was PayPal that redirected them there to stop non paying users getting free copies. Thanks in advance, Richard
You can use $_SERVER['HTTTP_REFFERER'] but its not the best way, it's quite exploitable for what your doing.