Results 1 to 10 of 10
Oct 26, 2007, 20:14 #1
- Join Date
- Aug 2006
- Washington DC
- 0 Post(s)
- 0 Thread(s)
Stupid CSS Switcher with PHP question
I was following this http://www.sitepoint.com/article/css...style-switcher tutorial and all was going well until I uploaded all of my results to my server. As you can see here I've linked the php file and put the right PHP code in the HTML file.... I think I've done everything else correctly as well, except when I go to click on the change the stylesheet option, it just brings me to a blank page.... What have I done wrong?
the code in the external PHP file is
<?php $theStyle = $HTTP_GET_VARS["style"]; /* querystring */ setcookie("style", $theStyle, time()+36000, "/", ""); header("Location: $HTTP_REFERER"); exit; ?>
*GAH* I just checked IE, and everything just died.... Can anyone explain to me why IE decided to die out on me?