开发者

How to disallow to access my website if someone have cookie from exam.com website? [duplicate]

开发者 https://www.devze.com 2023-01-19 10:31 出处:网络
This question already has an answer here: Closed 12 years ago. Possible Duplicate: How to check cookie from other website in php and do not allow to access mywebsite?
This question already has an answer here: Closed 12 years ago.

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']

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号