I am trying to get this PHP script to work
$visitcount = $HTTP_COOKIE_VARS["visits"];
if( $visitcount == "") $visitcount = 0;
print "This is visit number " . $visitcount;
But I am having problems.
Notice: Undefined index: visits in /net/home-ANet/c/pc60/Web/PersonalPages/php/cookie.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /net/home-ANet/c/pc60/Web/PersonalPages/php/cookie.php:2) in /net/home-ANet/c/pc60/Web/PersonalPages/php/cookie.php on line 5
This is visit number 0