I have put the following code onto my site in which i run the server on my own computer, and this is the code:
if ($special=="clickcounter.reset") {
$clickcounter = 0;
}
$clickcounter = $clickcounter + 1;
setcookie("clickcounter", $clickcounter, ((time() + 3600) 24 365));
It is supposed to add one each time as a click counter, but the output stays as one. Could it be a configuration problem on my server or what? It works fine on other php servers. I have it running php4 on win98. Thanks!