sorry but I think this script is almost unstable and it just doesn't work, I tried all settings, tried also to set my server with 256 Mb memory limit, 300 timeout, run script from line command .... and just it not work, maybe it can stop to memory limit, another time to timeout .... ouffff I just can't use it
and also, 256 memory limit and 200 timeout in php.ini .... just for test is ok, but I hope you understand we can't use it in normal working server