Have a cookie that I am trying to read and based upon that cookie, modify a variable later in the script for first time visitors. Or once every 24 hours.
With global var tracking turned off, it generates a php error that displays on the page for just a second.
Does anyone show a way to have this cookie function right with global vars tracking turned off?
<?
$visits = $visits + 1;
setCookie("visits",$visits,time()+3600*8);
if ($visits > 1) {
$swfile="blank.swf";
}
else {
$swfile="other.swf";
}