1
Reza
(2012-10-29 10:10 AM)
0
That is going to stress the srveer the easy way is this:function css() {$bg = "red";$color = "green";$txt = "Arial";$css = <<<EOFbody {background-color: $bg; font: $color $txt;}EOF;return $css;}$x = css();file_put_contents('style.css', $x);Add it to your administration panel and when you change the values it will rewrite the style.css file and that's it. You won't need to call it every time you enter the site. And if you want to change the styles you can make more files like style_blue.css, style_red.css etc
|