How to to check a php server support for flush? [Archive] - Indian Web Development Forums - India's First Ever WebMaster Forums

PDA

View Full Version : How to to check a php server support for flush?


montyauto
07-07-2007, 10:31 PM
Hi there,

I am working now to get flush working on my page,
I took this script for example:

<pre>
<?php

ob_end_flush();

echo "Test1\n";
flush();
sleep(3);

echo "Test2\n";

?>
</pre>[/code:1]


It works 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
</IfModule>[/code:1]

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?

WebMistress
07-09-2007, 04:21 PM
Could you properly post the code here ? You have lot of coded in html form.

Cool_dude_Prav
07-10-2007, 12:05 AM
I would say that u use the [code ]some text here[/ code] feature... (without the spaces inside the tags)

that's why its there ;)