Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

How to to check a php server support for flush?

 
webmaster forum
Activity
0%
 
New Poster
Posts: 9
Topics: 5
WWW
May 20, 2010, 02:38:14 AM

Hello Everyone

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

Code:
[code:1]<pre>
<?php

ob_end_flush();

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

echo "Test2\n";

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

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

I have put in . htaccess
Code:
[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.

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
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page February 03, 2012, 11:33:05 AM