Advertisement

08.27.2008 at 12:51PM PDT, ID: 23683337 | Points: 500
[x]
Attachment Details

PHP Flush function works on the command line but not when sending to the browser?

Asked by parlays in PHP Scripting Language, Apache Web Server

Tags:

Hello everyone,

I've been trying for months to get the PHP flush() function to work on my dedicated server.  I've read the php.net/flush page clearly many times.  I've studied the matter as much as possible.  It works for me on the command line but not when I send the output to the browser.  I've tried so many different things such as turning off compression and turning off the output buffer and using multiple browsers.  I just can't get it to work.

One thing I wonder if it is could have to do with is that the dedicated server is overseas.  Could that possibly affect the way things are outputted?  If anyone has any ideas of what else I could try to get the flush() function to work, that would be great.  Thanks!Start Free Trial
[+][-]08.28.2008 at 01:41AM PDT, ID: 22332560

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.28.2008 at 12:19PM PDT, ID: 22338729

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628