Is there a PHP script where I can download a file while I am creating it in PHP?
The problem is that I have a huge script in PHP that creates a file, and to generate it, it lasts about 5 minutes. After it generates it, it downloads it, here takes another 5 mins or so.
In total it takes more than 10 minutes to download a file.
What I need is to create a script somewhat like phpmyadmin where the file downloads while it is being created.
Any help will be greatly appreciated
PS: I am using Codeigniter Framework.
Thanks in advance.