Posted by PHPGB on 10/28/47 11:24
<comp.lang.php , Alvaro G Vicario ,
alvaro_QUITAR_REMOVE@telecomputer.com>
<14y7gudpme7jj$.k6rwjqooxkzs.dlg@40tude.net>
<Tue, 16 Aug 2005 13:06:34 +0200>
> If you need to execute PHP code in your CSS files, just rename them to
> *.php and provide the appropriate headers:
>
> <?php
>
> header('Content-Type: text/css');
>
> ...
>
> ?>
>
Funnily enough I was wondering how to use php in css files last night .
Any problems or pitfalls with the method ? .
--
www.phpguestbook.co.uk
[Back to original message]
|