Re: Re[4]: [PHP] Re: PHP & CSS

From: Erythros (erythros_at_erythros.com)
Date: 10/09/03


To: php-general@lists.php.net
Date: Wed, 8 Oct 2003 17:13:43 -0500

it sounds like she using the ini as a user css. so wouldn't it be simpler to
just rename the ini to css, rather than use php to get values from the ini
and apply them to the current css?
 then all she has to do is follow davids adivce for the users css files:

<snip>
Write a script that opens your CSS file, parses the current CSS settings out
of it, and displays them as a form. The user then updates and submits new
values, and the script writes the new values the the CSS file.
</snip>

"Tom Rogers" <trogers@kwikin.com> wrote in message
news:612699687.20031009030104@kwikin.com...
> Hi,
>
> I don't think so, the original question was how to get PHP variables into
a
> style ***, though your way would work for a separate style *** for
each
> user.
>
> BTW I added .ass (active style *** :)as a file extension for PHP
processing to
> apache for this sort of function but I now use templates so it is
redundant.
> --
> regards,
> Tom