I understand flush() and ob_flush() will send the partial data to the browser and it all depends on the browser to display.
Anyway to force IE to display as and when partial data arrives - like FF.
This is going to be a headache for IE users - even though IE doesnt always follow rules, most end-users use IE and I have to get this to work - even if its in some twisted manner.
I did an echo str_repeat(' ',256); before every flush() but still no effect in IE - appears all at once at the last
Thanks
How to force IE to display partial data received
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
This will sound counter-intuitive, but my experience shows that if you use output buffering, and flush the ob at spaced intervals, you can get IE to act similarly to FF.
However, FF does rendering entirely different from IE, so it won't be 100% the same - and you can't work around that. Its the way their rendering engine works.
Also, IE in quirks mode will generally be less forgiving about doing reflows, so make sure you have a *complete* doctype (including url) so you are in strict mode.
However, FF does rendering entirely different from IE, so it won't be 100% the same - and you can't work around that. Its the way their rendering engine works.
Also, IE in quirks mode will generally be less forgiving about doing reflows, so make sure you have a *complete* doctype (including url) so you are in strict mode.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK