Currently, i am working on a php page, process_extract_papers.php, that helps to zip documents for me. One problem i faced was that when the documents are more than 20mb, the system will fail and thats because it exceeds the temp directory memory.
And instead of zipping one big file, i want to zip multiple files instead. Firstly, it will be much easier to download. The problem is that i managed to zip the first file and able to download it. So get the next part of the file, i will need to press a button called Extract Next. However, even though i did that, when i press start download button, i will still be downloading the first file.
I dont know why i cant get pass this and raking brains for quite a few hours. If anybody knows about zipping files using php, kindly give me some advice. Below, are the coding for process_extract_papers.php.