Ver original<?phpsetcookie('visita',1,time()+10);setcookie("time",time()+10,time()+10);header('Location: index.php');
Ver original<?phpif(!isset($_COOKIE['visita'])){ header('Location: setCookie.php');}echo 'Tiempo: ' . time() . '<br />';var_dump($_COOKIE);