setcookie() from localhost for other local site with domain name

Briche

New Member
#1
I have two site on my Linux installation : theming.dev xenforo.dev

On theming.dev, inside my code, I have :
Mã:
setcookie("mycookiename", "cookievalue", time()+3600, "", "xenforo.dev");
But when I going on my local website called xenforo.dev, I don't have the cookie called "mycookiename", Why please ?

Note: setcookie() return true.

Thanks.
 
Top