I've come across an error in my script and can't work out what is wrong. The only thing I seem to be able to pin-point is that the script appears to stop working when an array I am using accumulates to a size larger than 579497 bytes! Is this a red herring in my debugging, or can PHP only store a certain amount of data in arrays?
Thanks!
Array limit?
Moderator: General Moderators
It's actually the following class - http://www.zend.com/codex.php?id=696&single=1. It creates a zip file, by adding the files and folders you want one at a time. I have found that sometimes my zip file is completely empty whilst other times it is fine. And it seems to be empty when I try to add too many large files. So I can only think that that is because the array used to store the data before it is zipped becomes too large, and so gets emptied?! Any idea how I can prove that theory? The data is stored into the array $datasec.