Menu
Hi,
I need to check that they have come from the paypal site
[url]https://www.paypal.com/uk/cgi-bin/webscr
i tried using this
[code=php]
if(substr($_SERVER[‘HTTP_REFERER’], 0, 40) !== “https://www.paypal.com/uk/cgi-bin/webscr”) {
echo “error”;
} else {
echo “success”;
}
and wondered y it didn’t work. I figured out because i guess HTTP_REFERER is blocked when its a [url]https://[/url]
so how else can i check that they have come from the paypal site? i have no control over the paypal programing and it is only a href link from theres to mine once they have paid ( so no forms i could try and look at)
Any idea’s
Adam