dadamssg Posted November 15, 2010 Share Posted November 15, 2010 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 More sharing options...
requinix Posted November 15, 2010 Share Posted November 15, 2010 So what part do you not know how to do? Do you need help from the very beginning of this or do you have a bit of something already? Link to comment https://forums.phpfreaks.com/topic/218683-dynamically-creating-css-files/#findComment-1134242 Share on other sites More sharing options...
doni49 Posted November 15, 2010 Share Posted November 15, 2010 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. Link to comment https://forums.phpfreaks.com/topic/218683-dynamically-creating-css-files/#findComment-1134248 Share on other sites More sharing options...
chintansshah Posted November 15, 2010 Share Posted November 15, 2010 Hey dadamssg, I am agree with doni49, I faced problem with on the fly CSS file creation. Save it to DB is good option for dynamic CSS. Link to comment https://forums.phpfreaks.com/topic/218683-dynamically-creating-css-files/#findComment-1134306 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.