Re: Re: PHP & CSS
| From: | Raditha Dissanayake | Date: | Thu, 09 Oct 2003 02:57:28 +0000 |
| Subject: | Re: Re: PHP & CSS | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165547@lists.php.net to get a copy of this message | ||
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 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. I'd bet money that a PHP class for reading and writing CSS files already exists, too. I would agree with you that there are ways in which you can dynamically generate CSS etc with PHP. I have been down that road three four years back. But raquel wants to separate these things out.First there was barly and hops, then someone made a better way of consumin it - beer. best regards. -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha/megaupload/ Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.