Jump to content

Can you set cookies for other sites?


php_joe

Recommended Posts

I know how to set a cookie using setcookie(), but can a website set cookies with another website's name on them?

 

For example, if I have a website, http://www.mysite.com, could I set a cookie for http://www.someothersite.com?

 

There is a website that I send referrals to, but they're mad at me. They claim that I'm setting referral cookies on my site.  >:(

Link to comment
https://forums.phpfreaks.com/topic/105430-can-you-set-cookies-for-other-sites/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.