Yegoroot
1/31/2018 - 11:04 AM

PHP__counter-$_COOKIE

<?php 
//  Счетчик
$counter = isset($_COOKIE['counter']) ? $_COOKIE['counter'] : 0;
$counter++;
setcookie("counter", $counter);
echo $counter; 
?>