background/font size change and remember

Here is how you can sett a cookie whit a variable:
Now it saves for one day.

$settings = $mybackground;
setcookie('background',$settings,time() + (86400)); // 86400 = 1 day

Print it in the body like an img whit this:

echo $_COOKIE['background']; 

tech