Freedomware wrote:
I just learned that you can even use PHP on style sheets. Can anyone
here tell me how to set it up?
I found a page at http://www.webdeveloper.co.nz/forum/topic/50 that
apparently cites two different methods. The first is to put a php
heading at the top of a style sheet, then
Hello Freedomware,
Monday, January 19, 2004, 7:18:10 AM, you wrote:
F I just learned that you can even use PHP on style sheets. Can anyone
F here tell me how to set it up?
F Are you aware of any good tutorials on using PHP with style sheets?
Sorry but you haven't really stumbled onto a pot of
Sorry but you haven't really stumbled onto a pot of gold here or
anything.
Hmmm... it sounds like using PHP with style sheets isn't a recommended
practice.
John Nichel wrote:
If you want PHP to parse your *.css files, you need to tell your
webserver software to do so. In Apache
AddType
Freedomware wrote:
Sorry but you haven't really stumbled onto a pot of gold here or
anything.
Hmmm... it sounds like using PHP with style sheets isn't a recommended
practice.
I wouldn't do it unless I had a good reason to do it. The reason that's
cited on the page you referred to
is to have
On Monday, January 19, 2004, at 06:18 PM, Freedomware wrote:
I just learned that you can even use PHP on style sheets. Can anyone
here tell me how to set it up?
Add this to your .htaccess file:
Files ~ \.css$
ForceType application/x-httpd-php
/Files
Add this to the top of your CSS file:
On Mon, 2004-01-19 at 02:18, Freedomware wrote:
I just learned that you can even use PHP on style sheets. Can anyone
here tell me how to set it up?
I found a page at http://www.webdeveloper.co.nz/forum/topic/50 that
apparently cites two different methods. The first is to put a php
OK, it looks like there are at least three ways to do this. I now have
an original style sheet with a .css extension and copies with .php and
.css.php extensions.
All three style sheets have the following code at the top:
?
header(Content-Type: text/css);
?
For the original style sheet, I
Freedomware wrote:
OK, it looks like there are at least three ways to do this. I now have
an original style sheet with a .css extension and copies with .php and
.css.php extensions.
All three style sheets have the following code at the top:
?
header(Content-Type: text/css);
?
I would think
On Mon, Jan 19, 2004 at 11:08:29AM -0600, John Nichel wrote:
Freedomware wrote:
OK, it looks like there are at least three ways to do this. I now have
an original style sheet with a .css extension and copies with .php and
.css.php extensions.
All three style sheets have the following code
On Tuesday, January 20, 2004, at 04:08 AM, John Nichel wrote:
Freedomware wrote:
OK, it looks like there are at least three ways to do this. I now
have an original style sheet with a .css extension and copies with
.php and .css.php extensions.
All three style sheets have the following code at
10 matches
Mail list logo