but I really like the header() function. For example, using a script similar to;
Code:
header("Content-type: text/css");
print <<<CSS
body {
background-color: black;
color: whte;
font-family: sans-serif
}
CSS;
You can link to the PHP script in HTML pages for dynamic CSS requirements.
The same is true for a Javascript page. The header() only changes to header("Content-type: text/javascript");
Therefore, you can dynamically create a number of different languages in PHP. I find this feature very useful and may incorperate the concepts in future PHP software.
