Skip to content
WJunction - Webmaster Forum

[php] flush() help

Status
Not open for further replies.
Hi guys, I recently bought a vps from knowin and noticed that flush() isn't working

Now i know this is probably not the servers fault, but i can't get it to work at all

Tried
ob_flush(); flush(); sleep(1);

It goes through the loop but doesnt sleep, just waits till the whole page loads :/

I tried disabling gzip for that page but still doesn't work :(

Anyone know what's going on? I been googling for a couple hours and pretty much tried everything :p

I think if i re-install the os it might work but i dont wanna do that lol

Any help appreciated :D
 

4 comments

Which browser are you using?

also,

Code:
 http://www.absolutelytech.com/2010/01/31/solved-flush-ob_flush-not-working-in-php-disabling-gzip-through-htaccess/
 
Firefox
I tried that but it didn't work :(

I think its something with the installation.. i installed w/ virtualmin.. think if i reinstall with kloxo it'll fix it?
 
Thank you Seeyabye :)

Working now..

One more thing though..

I have the set_time_limit to 0 but i have a shell_exec() that takes a long time to load so the page just times out :/
Is that function supposed to work with set_time_limit. (Limit is unlimited in php.ini too)
 
Status
Not open for further replies.

About the author

R
Active Member · Joined
155
Messages
1
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom