/ Published in: PHP
One other thing to note, is that the php generated css file can make use of query parameters, for instance:
<link rel="stylesheet" href="base.css.php?type=alternate" type="text/css" >
in your PHP file you can use the variable:
if ($_GET['type'] == 'alternate'){
// set some options etc. ....
}
<link rel="stylesheet" href="base.css.php?type=alternate" type="text/css" >
in your PHP file you can use the variable:
if ($_GET['type'] == 'alternate'){
// set some options etc. ....
}