• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flushing the output buffer? Possible?

#1
[eluser]JulijanAndjelic[/eluser]
I did some research on this but can't seem to find a solution to flush the output buffer. ob_flush() doesn't work...reading about the CI's Output class I've found that CI doesn't use the native php output buffer, which I'm not sure why.
The situation is, I make an AJAX request to my controller, controller loads my custom library which uses curl to download a remote file, curl triggers a callback function to report the download progress and after every execution of the callback function it should flush the output back to the client side...normally I'd use native output buffering functions but they don't seem to work under CI.

It would be cool if there was a "flush" method in the Output class. Maybe using another approach?

Thanks in advance.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.