On Sun, 23 May 2004 01:19:44 -0400 (EDT), [EMAIL PROTECTED] (Michal
Migurski) wrote:

>> Without a <?php in the file I think that whether it's parsed by php or
>> not shouldn't make any difference -- but it does.
>
>It will only make a difference if the HTTP response from the server is
>different somehow -- contains junk, wrong headers, that sort of thing. The
>only way to reliably diagnose such problems is to figure out a way to view
>the entire HTTP response, headers and all. I use curl for this, but you
>might not have access to a command line.

Thanks for pointing me to curl.  When the css file is being parsed by
php the Content-Type changes to text/html.  It works just fine if I
add the following two lines to the beginning of the file:
ob_start();
header( 'Content-Type: text/css' );
I still don't know why it worked on the remote server since it's doing
the same thing.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to