Hi.
I've got a snippet like this:
if(strpos($_SERVER['HTTP_ACCEPT_ENCODING'],'gzip')===false){
echo $indexController->getPage();
}
else{
ob_start();
echo $indexController->getPage();
$output=gzencode(ob_get_contents(),9);
ob_end_clean();
header('Content-Encoding: gzip');
echo $output;
unset($output);
}
Why on earth I've got this notice:
<br />
<b>Notice</b>: Undefined index: HTTP_ACCEPT_ENCODING in <b>/mounted-storage/home50a/sub001/sc19485-LOWM/www/blogialnewversion/index.php</b> on line <b>25</b><br />
that waste all the validation process.
At the http://www.blogial.net/blogialnewversion/index.php there isn't notice
Best wishes