How to to check a php server support for flush?

Hello Everyone

I am working for get flush working on my page,
I took a script, for example:



echo &quot;Test1\

echo &quot;Test2\


It works well on my own server but not in a web hosting.

I have put in .htaccess

[code:1]<IfModule mod_gzip.c>
mod_gzip_on no

I put flush all HTML up to and including the <body> tag (<head>, <meta>, etc.), the browser won’t respond.

I can’t understand what is still missing.

Anyone can tell me the easiest way to check a php server support for flush?

Thanks in Advance

thanks for provide me this link its really help me

Read the documentation page for flush and you will see that there are many situations that can prevent it from occurring.