Ok, I have the cookie setting now with this code:
setcookie ("CookieStyle", $style,time()+3600, "/", "travisbarden.com", 0);
// header("Location:".$_SERVER['PHP_SELF']."");
echo "http://www.travisbarden.com" . $_SERVER['PHP_SELF']. " " . $style; //test to see output
But since I am trying to set the style with
<link rel="StyleSheet" href="/css/<?php echo $_COOKIE['CookieStyle']; ?>.css" type="text/css" media="screen, projection" />
I can not see the styles until I refresh the page. So I try this:
setcookie ("CookieStyle", $style,time()+3600, "/", "travisbarden.com", 0);
header("Location:".$_SERVER['PHP_SELF']."");
//echo "http://www.travisbarden.com" . $_SERVER['PHP_SELF']. " " . $style; //test to see output
and the server can not be found.