I've been looking all day on the Web, trying to figure this one out. I'm hoping someone will be able to just give me a good slap and that'll be the end of it. Anyway, PHP code passed to a script can cause linked stylesheets to be ignored by the browser, even if the value is not used. For instance, consider this pure XHTML saved with a PHP extension (test.php): [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link href="style.css" rel="stylesheet" type="text/css" /> <title>test</title> </head> <body><p>Hello, World!</p></body> </html>[/code] With a style.css like this: [code]body { font-family: sans-serif; font-size: 2em; text-align: center; color: white; background-color: black; }[/code] If you were to call [font=Courier New]test.php?test=hello[/font], styles would be applied. However, if you were to call [font=Courier New]test.php?test=<?php echo('Hello'); ?>[/font], no styles would be applied. It doesn't matter if the value passed is used or not--the result is the same. Here is a demo of it in action: http://www.haikuhost.com/misc/test.php?test=abcdef [url=http://www.haikuhost.com/misc/test.php?test=<?php echo("What is the problem?"); ?>]http://www.haikuhost.com/misc/test.php?test=<?php echo("What is the problem?"); ?>[/url] (May need to refresh your browser for the style to go away, if it was cached by the previous link.) I've tried this on two different servers, both running PHP 4.4.2. One runs Apache 1.3.34 and one 1.3.36; it only happens with the one running 1.3.34.