> 2) In PHP, this:
> 
>         <?=$pageId?>
> ...is the same as
>         <?php echo $pageId?>

short tags like <? should be avoided as they can cause problems with
xml, so you should use <?php  instead and turn short tags off.

if you process your css file with php you will need to output the
correct headers, i use
<?php
ob_start ("ob_gzhandler");
header("Content-type: text/css");
header("Cache-Control: must-revalidate");
$offset = 60 * 60 ;
$ExpStr = "Expires: " .
gmdate("D, d M Y H:i:s",
time() + $offset) . " GMT";
header($ExpStr);
?>
to send the css file compressed to compatible clients and save bandwidth.
-- 
Paul Roberts
[EMAIL PROTECTED]
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to