http://www.test1.com/called with JS
http://www.test2.com/test.php
The read-write cookie function found in PHP does not work.
Setcookie ("TestCookie", $value, Time () +3600);
$phpcookies = $_cookie[' TestCookie ');
What's the problem, please?
Thank you!
Reply to discussion (solution)
Would you please enter $value to see if it is a null value?
Would you please enter $value to see if it is a null value?
Is "output", typos ...
Cookie value cannot be accessed across domains
A cookie is bound to a domain name and can be passed as a parameter to a cookie.
A cookie is bound to a domain name and can be passed as a parameter to a cookie.
Excuse me, is there an example, thank you prawn!
Browsers are prohibited from cross-domain.
A.com The following cookie can only be accessed by a.com PHP below, B.Com is not accessible.
Cross-domain parameters are best to pass parameters
JS does not support cross-domain ...
Browsers are prohibited from cross-domain.
Http://www.test2.com/test.php?XXXX=XXXXXX