session_start(); // if( !isset($_SESSION['f_nac']) ) { // session_register('f_nac'); // $_SESSION['f_nac']=date("Y-m-d"); // } if(! isset($_COOKIE['f_nac']) ) { $_COOKIE['f_nac']=date("Y-m-d"); setcookie('f_nac', date("Y-m-d"), time()+3600); echo ""; } include("seguridad_en.php"); ?>
$edad=verificaMayoria($_COOKIE['f_nac']); if($edad<18) { ?> } else { //El usuario ya verifico su edad ?> } //else usuario es mayor ?> | |
Casa Armando Guillermo Prieto reminds its friends to drink responsibly. MEZCAL ZIGNUM and the other Trademarks listed under Products are owned in México by Casa Armando Guillermo Prieto. Trademarks and Copyright © 2010 Casa Armando Guillermo Prieto. All rights reserved. |