Quellcode anzeigen
<?php
header('Content-Type: text/css; charset=iso-8859-1');
/*
* Caching der Seite verhindern
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store');
header('Pragma: no-cache');
list($usec, $sec) = explode(' ',microtime());
print('/* '.((float)$usec + (float)$sec)." */\n");
if (!empty($_COOKIE['fontsize'])) {
$fontsize = $_COOKIE['fontsize'];
} elseif (!empty($_COOKIE['fontsizeR'])) {
$fontsize = $_COOKIE['fontsizeR'];
} else {
$fontsize = 100.01;
}
?>
html {
font-size: <?php print($fontsize); ?>%;
}