Thanks for the linkinformation.
This is your problem:
if you're clicking link $_GET['f'] is NULL. The cookie information for f is unsetted (because the value is NULL).
And on the other link the same problem with $_GET['w'] too.
Try this:
if(isset($_GET['w'])) setcookie("acces",$_GET['w'],time()+31536000) or die("Errore da Accessibilità");
if(isset($_GET['f'])) setcookie("font",$_GET['f'],time()+31536000) or die("Errore da Accessibilità");
Both information can be set, without deleting the other information (because it's NULL). Check before if the variable is set, then setting the cookie.
Hope that solves your problem



Rispondi quotando