Add this code to your page:
<?php
if(isset($_GET['style']) and file_exists($_GET['style'] .'.css')) {
setcookie('style', $_GET['style'] . '.css', time()+365*24*60*60, '/');
}
$style = isset($_COOKIE['style']) ? $_COOKIE['style'] : 'default.css';
?>
and this in <head>:
<link href="<?php echo $style; ?>" rel="stylesheet" type="text/css">
the link will be like this: yourdomain.com
Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH