gerkintrigg Posted August 7, 2012 Share Posted August 7, 2012 Is there an easy way to parse a CSS sheet as PHP? Maybe using htaccess or something? Link to comment https://forums.phpfreaks.com/topic/266770-css-as-php-and-vice-versa/ Share on other sites More sharing options...
scootstah Posted August 7, 2012 Share Posted August 7, 2012 Why would you want to do that? Link to comment https://forums.phpfreaks.com/topic/266770-css-as-php-and-vice-versa/#findComment-1367487 Share on other sites More sharing options...
Maq Posted August 7, 2012 Share Posted August 7, 2012 What exactly are you trying to do? Surely there is a better way. Link to comment https://forums.phpfreaks.com/topic/266770-css-as-php-and-vice-versa/#findComment-1367496 Share on other sites More sharing options...
Jessica Posted August 7, 2012 Share Posted August 7, 2012 You can use PHP to generate the CSS file by using the header() command. If you're trying to do some dynamic CSS that is what you need. http://www.barelyfitz.com/projects/csscolor/ Link to comment https://forums.phpfreaks.com/topic/266770-css-as-php-and-vice-versa/#findComment-1367498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.