okay, det her er hvad jeg har lavet (lidt rodet):
theme.php:
Choose theme:<br>
<a link href="black/index.php">black</a><br>
<a link href="white/index.php">white</a><br>
<? echo 'cookie '.$_COOKIE["Theme"].' works';?><br>
<a link href="delete.php">dl</a><br><br>
<img src="<? echo $_COOKIE["Theme"];?>/pic.PNG" width="57" height="67"><br>
black/index.php
<?
$value = 'black';
setcookie("Theme", $value);
?>
<a href="../theme.php">back
</a>
black/index.php
<?
$value = 'white';
setcookie("Theme", $value);
?>
<a href="../theme.php">back
</a>
delete.php:
<a href="../theme.php">back
</a>
<?
setcookie ("Theme", "", time() - 3600);
?>
hvorfor duer det ikke? kan nogen finde fejlen?