PHP to generate CSS |
PHP to generate CSS |
CodeKing |
Aug 6 2007, 07:17 PM
Post
#1
|
Advanced Member Group: Members Posts: 175 Joined: 12-September 06 Member No.: 118 |
I'm using PHP to generate a CSS stylesheet. The only problem is that the browser thinks it's a PHP document. I know there's some function that tells the browser that the document is actually a different type of file. What is this? And what's the type of document for CSS? ("texst/css" posibly?)
|
pandy |
Aug 6 2007, 09:40 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
QUOTE I'm using PHP to generate a CSS stylesheet. The only problem is that the browser thinks it's a PHP document. I know there's some function that tells the browser that the document is actually a different type of file. What is this? Same as when you generate a HTML page. http://php.net/header QUOTE And what's the type of document for CSS? ("texst/css" posibly?) Yes. |
Lo-Fi Version | Time is now: 19th May 2024 - 03:07 AM |