[wp-hackers] WP Passing GET to CSS?

Computer Guru computerguru at neosmart.net
Sun Nov 5 08:36:45 GMT 2006

> That's interesting.
> I've done that on a few sites; err, without the GET variables. I've
> either configured apache to call php for css files or used a php page
> for the url in a linked stylesheet.
> Example:
> <link rel="stylesheet" href="http://frenzieddaddy.com/stylesheet.php"
> type="text/css" />
> (If you do this, make sure your php script outputs the text/css header,
> duh :) )
> I didn't come across any problems with it, but it seemed like ... on
> the one hand "great" so that I could define variables (colors, etc) at
> the top and adjust them, or adjust them depending on time of day, et
> cetera. But it was an added bit of fluff I didn't need.
> Any way, I didn't see problems as you're describing, but maybe either
> the errors here or the warnings here cause the strange displays in
> Opera?
> http://jigsaw.w3.org/css-
> validator/validator?uri=http%3A%2F%2Fneosmart.ath.cx%2Fwordpress%2Fwp-
> admin%2Fwp-admin.css%3Fversion%3D2.1-alp&usermedium=all

I love life, it's so full of little coincidences :P

I wrote an article on PHP-as-CSS just last week - but on a different website

Anyway, this is a standard CSS file being sent out as MIME type text, and
only Opera coughs up on it...

It's not anything about (in)valid CSS - this is the default wp-admin CSS for
a WP 2.1 install, and it's the same on all 4 of my servers, it's only this
particular server on Opera alone giving me errors.

Computer Guru
NeoSmart Technologies

More information about the wp-hackers mailing list