Re: [PHP] link to a css file requires .css ???

2009-08-17 Thread Devendra Jadhav
Just use following .htaccess rewrite rule RewriteRule ^some.css$ some.php and this is the perfect solution. On Mon, Aug 17, 2009 at 3:14 AM, Adam Shannon a...@ashannon.us wrote: On Sun, Aug 16, 2009 at 4:37 PM, Daniel Kolbo kolb0...@umn.edu wrote: Hello, I realize this is more of an

Re: [PHP] link to a css file requires .css ???

2009-08-17 Thread kranthi
A browser will always parse link .. tag regard less of the extension. the only condition is that the file should provide a mine type 'text/css' for css files. https://developer.mozilla.org/en/Incorrect_MIME_Type_for_CSS_Files -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] link to a css file requires .css ???

2009-08-16 Thread Daniel Kolbo
Hello, I realize this is more of an html question than a php, but I was hoping someone here would know what's going on. I am linking to a stylesheet and it is requiring me to use *.css extension. I want to use a .php extension (and have the php engine generate css). However, whenever i use a

Re: [PHP] link to a css file requires .css ???

2009-08-16 Thread Nitsan Bin-Nun
Of course not, just send the corresponding mime type to the file extension .css Probably header('Content-Type: text/css'); Good luck ;) On Sun, Aug 16, 2009 at 11:37 PM, Daniel Kolbo kolb0...@umn.edu wrote: Hello, I realize this is more of an html question than a php, but I was hoping

Re: [PHP] link to a css file requires .css ???

2009-08-16 Thread Daniel Kolbo
Daniel Kolbo wrote: Hello, I realize this is more of an html question than a php, but I was hoping someone here would know what's going on. I am linking to a stylesheet and it is requiring me to use *.css extension. I want to use a .php extension (and have the php engine generate css).

Re: [PHP] link to a css file requires .css ???

2009-08-16 Thread Adam Shannon
On Sun, Aug 16, 2009 at 4:37 PM, Daniel Kolbo kolb0...@umn.edu wrote: Hello, I realize this is more of an html question than a php, but I was hoping someone here would know what's going on. I am linking to a stylesheet and it is requiring me to use *.css extension. I want to use a .php