How to to check a php server support for flus
Posted: Thu Apr 26, 2007 3:38 pm
Hi there,
I am working now to get flush working on my page,
I took this script for example:
It works on my own server but not in a web hosting.
I have put in .htaccess
I put flush all HTML up to and including the <body> tag (<head>, <meta>, etc.), the browser won't respond.
Is there stil something I've missed?
What is the easiest way to check a php server support for flush?
I am working now to get flush working on my page,
I took this script for example:
Code: Select all
<pre>
<?php
ob_end_flush();
echo "Test1\n";
flush();
sleep(3);
echo "Test2\n";
?>
</pre>It works on my own server but not in a web hosting.
I have put in .htaccess
Code: Select all
<IfModule mod_gzip.c>
mod_gzip_on no
</IfModule>Is there stil something I've missed?
What is the easiest way to check a php server support for flush?