Forum Moderators: coopster
I need to be able to redirect browsers who dont come from the payment system e.g. by going directly to the page via a search engine.
Problem is, Paypal doesnt send a uniform URL back it has a product ID on the end of it and so it is never the same...
Can someone tell me how to grab the referer on the thank you page and check if it contains paypal.com
Ive been at this for a while and cant get it to work. If the referer isnt paypal.com I need the script to redirect using header(Location....
Thanks in advance.
A
I need to be able to check the referal string basically so that it contains the word paypal somewhere so that I can redirect unwanted visitors to that page.