Hi,
i need help with cookie when changing domain name of third level.....
<?
$value="10";
if ($ok=1)setcookie("Test14", $value, time()+30);
?>
works only in the domain where i arrive.....
<?
$value="10";
if ($ok=1)setcookie("Test14", $value, time()+30, "", "a.dev", 0);
?>
works for the domain i have put but i want that if i show
echo "<br>COOKIE14=".$_COOKIE["Test14"];
it show also from domain b.dev
so definitifly i want something like that:
<?
$value="10";
if ($ok=1)setcookie("Test14", $value, time()+30, "", ".dev", 0);
echo "<br>COOKIE14=".$_COOKIE["Test14"];
?>
first time i go on
and it write the cookie......if i refresh or i then go to
it show the content of the cookie
then also if i go on the
i want the cookie be readable and so it show the content......
Any help?