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 t
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 foll
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:
I would think that the above is going to cause proble
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:
For the original style sheet, I pasted the following text into a
.htacc
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
> h
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:
ForceType application/x-httpd-php
Add this to the top of your CSS file:
Then you can use it
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 di
"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
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 o
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
10 matches
Mail list logo