GRMrGecko Posted November 22, 2006 Share Posted November 22, 2006 i want to read a cookie from another site i have tried $_COOKIE["id", ".url.com"]; and it did not workcan someone help me? Link to comment https://forums.phpfreaks.com/topic/28143-reading-a-cookie-form-another-site/ Share on other sites More sharing options...
wildteen88 Posted November 22, 2006 Share Posted November 22, 2006 You cannot access a cookie that was set from another websites domain name. You can only read cookies that was set from your sites domain name. Link to comment https://forums.phpfreaks.com/topic/28143-reading-a-cookie-form-another-site/#findComment-128721 Share on other sites More sharing options...
Fallen_angel Posted November 23, 2006 Share Posted November 23, 2006 Is there no way of achiving this at all ? even if you own both domains and they are on the same server?the reason I ask is because I am making an faq for people that are on a forum I run already , i have put it on it's own domain for various reasons , however i wanted to make it so only members of my forum could add entries or comments , my plan was to check their ipb session on the other domain and if they are not logged in they are presented with a login screen Link to comment https://forums.phpfreaks.com/topic/28143-reading-a-cookie-form-another-site/#findComment-128914 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.