<?php // end output buffer and echo the page content ob_end_flush();
// this function gets rid of tabs, line breaks, and white space function compress_html($compress) { $i = array('/>[^S ]+/s','/[^S ]+</s','/(s)+/s'); $ii = array('>','<','1'); return preg_replace($i, $ii, $compress); } ?>