Possible Duplicate:
How to check cookie from other website in php and do not allow to access mywebsite?
How to disallow to access my website if someone have cookie from exam.com website?
i tried fo开发者_如何学Cr about this in php . please help me thank
The answer is simple : you can't because you can't read cookies from other domains.
You can look at the referring URL though. To see if they came directly from exam.com.
$_SERVER['HTTP_REFERER']
精彩评论