Create Css File in PHP
Posted 27 September 2006 - 11:30 PM
Posted 28 September 2006 - 02:19 AM
you could use php to edit the css file. To do this you will need file_get_contents and file_put contents (or the fopen fread fput fclose equivalnet) and to develop a method of finding the relevant lines in the css....
Posted 28 September 2006 - 10:41 PM
<a href="style.php" rel="stylesheet" type="text/css" />
it works perfectly if
1. you send a css header using php to the browser
Business Website: http://www.infotechnologist.biz
Personal Website: http://www.joyelpuryear.com
Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users