use cookie in php 7 code example
Example 1: retrieving a cookie in php
$cookiename = $_COOKIE['COOKIE ID']
Example 2: php page sends cookie to visitor
<?php $Month = 2592000 + time();//this adds 30 days to the current timesetcookie(UserVisit, date("F jS - g:i a"), $M