- I don't know what's going on here. I've got IE set to accept them. Is there anything wrong with this?...
<?
$cookie_name = "test_cookie";
$cookie_value = "test string!";
$cookie_expire = time()+86400;
$cookie_domain = "localhost";
setcookie($cookie_name, $cookie_value, $cookie_expire, "/" , $cookie_domain, 0);
?>
<HEAD>
<TITLE>Set Test Cookie</TITLE>
</HEAD>
<BODY>
<h1>cookie</h1>
</BODY>