m_*******@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.
js*******@attglobal.net
==================