Forum Moderators: coopster

Message Too Old, No Replies

How can we get cookie for diffrent domain?

         

DeveloperMind

5:26 am on Mar 3, 2006 (gmt 0)

10+ Year Member



I want to retrieve data from cookie for diff domain name.

For example I am using php script to save data in www.abc.com/index.php but I want get cookie data from www.cdf.com

I have been stuck at this point.

Can anybody help me?

Thanks in advance.
DeveloperMind

phparion

7:36 pm on Mar 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



www.php.net/curl

your key to these kinda stuff.

coopster

1:18 am on Mar 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, DeveloperMind.

Cookie values from a user's browser are only available to you for the domain/path you are running your code on. Perhaps setcookie [php.net] will help you understand a bit more how they work.