Jump to content

dynamically creating css files


dadamssg

Recommended Posts

I'm looking for any guidance on how to dynamically create css files. I want users to be able to select colors for fonts/backgrounds, borders, etc. from a form which they will submit and it will create a css file and put it in a certain folder. Can someone point me in the right direction?

Link to comment
https://forums.phpfreaks.com/topic/218683-dynamically-creating-css-files/
Share on other sites

My best advice would be to NOT try and create actual files on the fly.  Store the variable info into a DB and then later each page that needs to use this CSS info would just include it directly on the page.  It's what PHP sends to the browser that is important.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.