var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to 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:
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?[/code]
Does it fail in all browsers?
What are you trying to do that utilises ob_end_flush();
Why are you using flush() ?
What error are you getting? What versions of PHP are you utilising?
shouldn't make a difference to your ob_end_flush, it is only related to compression of http network transfer and relies on the client being able to decode the compression (which some browsers don't support).
http://uk3.php.net/flush for notes on the flush() function.
In particular see the section starting
Taking a guess I would say you're developing on Windows and publishing to Linux?
Server modules for Apache like mod_gzip may do buffering of their own that will cause flush() to not result in data being sent immediately to the client.
all exist in versions 4->5
Use phpinfo() to determine is any of the functions have been disabled in Apache.
I found no none of function disabled in phpinfo.
Originally Posted by
I have tried it in some servers,
It quite funny some server it works but others no.