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? Quote 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? Quote 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. Quote 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/ Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.