Julian Davchev wrote: > > Hi, > I am trying to chunk serve file using fopen,fread,fseek etc. > Problem I think I am having is that ZF is caching the output...and I get > out of memory instead of using constant memory for no matter how large > file I serve for download. > Using MVC part have action for this download.... have disabled renderer > and layout. > Please let me know how can disable caching of page..I am pretty sure it > occurs. > >
Just stop output buffering before sending the file. http://www.php.net/manual/en/function.ob-end-flush.php Karol -- View this message in context: http://www.nabble.com/Zend-Framework-1.7-Preview-Release-is-now-available%21-tp19966314p20013271.html Sent from the Zend Framework mailing list archive at Nabble.com.
