header("Content-type: text/css");
echo 'sometext';
exit;
in my browser I still see the type text/html, why is that?
The comments already say it, but try to print/echo some real css-content. if your file is still detected as text/html, turn error-messaging on and see if there is a "headers already send"-warning, which indicates that your php-script echoed some whitespace before the header("...")-codeline.
text/html(I don't know, just worth a try)?