<?php
$set = $_GET['set'];
$set = preg_replace('#[^a-zA-Z0-9_-]#', '', $set);
setcookie ('sitestyle', $set, time()+31536000, '/', '$SERVER_NAME', '0');
header('Location: '.$_SERVER['HTTP_REFERER']);
?>

