[PHP] Re: php/css and .htaccess [SOLVED]

2006-09-23 Thread Richard Lynch
On Sat, September 23, 2006 10:06 am, tedd wrote: I am sure that with a little browser sniffing via php and taking Browser-sniffing is the unreliable part. compliant (hack-less) code, one could get the code to adapt to the browser. In other words, this would present an option for all css

RE: Re[2]: [PHP] Re: PHP CSS

2003-10-09 Thread esctoday.com | Wouter van Vliet
[2]: [PHP] Re: PHP CSS On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice raquel- [EMAIL PROTECTED] wrote: On Thu, 9 Oct 2003 02:00:20 +1000 Tom Rogers [EMAIL PROTECTED] wrote: You don't need to call your style sheets .css they can be just as easily called.php and even have a querystring

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on what youre trying to do. what are the variables for? to request a specific

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raditha Dissanayake
Couple of days of ago we had a nice thread on the use of XSLT. This is a situation where XSLT would be an ideal solution. Raquel Rice wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content.

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Tue, 7 Oct 2003 23:22:02 -0700 Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Wed, 08 Oct 2003 20:34:51 +0600 Raditha Dissanayake [EMAIL PROTECTED] wrote: Raquel Rice wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. snip i may have it wrong but what

Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread Tom Rogers
Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: RR On Tue, 7 Oct 2003 23:22:02 -0700 RR Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content.

Re: Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Thu, 9 Oct 2003 02:00:20 +1000 Tom Rogers [EMAIL PROTECTED] wrote: Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: Well, yes ... in a way. The plan is to have a main site, where users can have a subsite off the main site. I want to give the users the ability to customize,

Re: Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread erythros
Tom Rogers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: RR On Tue, 7 Oct 2003 23:22:02 -0700 RR Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably

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

2003-10-08 Thread Tom Rogers
Hi, I don't think so, the original question was how to get PHP variables into a style sheet, though your way would work for a separate style sheet for each user. BTW I added .ass (active style sheet :)as a file extension for PHP processing to apache for this sort of function but I now use

Re: [PHP] Re: PHP CSS

2003-10-08 Thread David Otton
On Wed, 8 Oct 2003 08:49:17 -0700, you wrote: On Wed, 08 Oct 2003 20:34:51 +0600 Raditha Dissanayake [EMAIL PROTECTED] wrote: Raquel Rice wrote: Well, yes ... in a way. The plan is to have a main site, where users can have a subsite off the main site. I want to give the users the ability

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

2003-10-08 Thread erythros
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

Re: Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread Curt Zirzow
On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice raquel- [EMAIL PROTECTED] wrote: On Thu, 9 Oct 2003 02:00:20 +1000 Tom Rogers [EMAIL PROTECTED] wrote: You don't need to call your style sheets .css they can be just as easily called.php and even have a querystring attached like

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raditha Dissanayake
Hi David, I think he's suggesting parsing and rewriting the CSS files - treating them as INI files. Nopes definitely not. Personally, I think XSLT os overkill for this, but then I think it's a pig's ear fullstop. Yes everyone is entitled to his opinion. :-) Write a script that opens your CSS

Re: [PHP] Re: PHP CSS

2003-10-07 Thread erythros
you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on what youre trying to do. what are the variables for? to request a specific css file? or are they to supplement the ccs file (ie: use value x for width

[PHP] Re: PHP CSS

2003-10-06 Thread erythros
people will still be able to see your style sheet, by folling the link to your css file. how are you apling the variables in the first place? now that you are link to a style sheet what has changed (apperance wise) with the output of the page. is the formating not being applied? can you send a