Posted by Jerry Stuckle on 10/01/63 11:43
m_roguski@yahoo.com wrote:
> Is there a way that without need of creating any "wrapper" script, PHP
> can parse .css files with scripts embedded and pass them to clients
> with proper MIME type (text/css instead of text/html)?
>
Not without a wrapper, no. You can only send one MIME type per file - and
you're already sending text/html for your main file.
When you do a link, img, etc., the browser must make a second request for the
new file. And that one will have its own MIME type.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|