[snip]
session_start();
if($_SESSION['counter_file'] !==$counterFile) //See if
visitor has already been counted for this page
{$num += 1;
$_SESSION['counter_file'] = $counterFile;
}
echo $_SESSION['counterFile'] . ' testxxxxxxxxx ' . $counterFile;
[/snip]
might just be a typeo but do you mean: echo $_SESSION['counter_file'] .
' testxxxxxxxxx ' . $counterFile;
instead of this: echo $_SESSION['counterFile'] . ' testxxxxxxxxx ' .
$counterFile;
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php