// intercept all output to destroy it in case of ajax call
register_shutdown_function('ob_end_flush');
ob_start('output_html',0);
// intercept all output to destroy it in case of ajax call
register_shutdown_function('ob_end_flush');
ob_start('output_html',0);