php css-less dynamically changeable css designed websites

nutron

New Member
I am going to start on a website whose requirement is to change the color scheme after every 2 weeks. I am looking for a dynamic solution to change colours and somewhat structure of a website using css & php. One solution which i can see is using dynamic css method for example\[code\]<?phpheader("content-type: text/css");$mencolour = "#ff0000";echo 'h1 {color:$menucolor}?>\[/code\]Other solution is using some php classes to do the same task. such as one is available on phpclasses website. http://www.phpclasses.org/package/6482-PHP-Parse-and-process-Leaner-CSS-files.htmlIs there any other better way of doing this? if any one has used above two methods, what could be drawbacks of using them. Need some expert opinions :)
 
Back
Top