Hey all!

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
Code:
<?php
$theStyle    = $HTTP_GET_VARS["style"]; /* querystring */
setcookie("style", $theStyle, time()+36000, "/", "");
header("Location: $HTTP_REFERER");
exit;
?>
Also, why is some of the PHP code displaying in the parsed HTML page when its in the Header section and enclosed in PHP tags?

*GAH* I just checked IE, and everything just died.... Can anyone explain to me why IE decided to die out on me?

Thanks everyone,
Eric Huang