Hey guys, i realized that after i do this block of code below, i was unable to print out anything on the screen. I have added the whole php file that i am working on, process_extract_papers.php.
Basically, process_extract_papers.php is responsible for zipping files. But you know as the number of documents grow, so will the size of zipping the files will be larger. And memory only permits 20mb of files to be zipped otherwise it will fail. For example, if there was 40mb of documents to be zipped, so i have to zip 2 times. And after the user press the start download button, i want the form to point back to itself and start zipping files for the 2nd zip file that is to be created.
Hope you guys can help me out here, thank you.