dagon,
No more errors, don't know why!
But it seems to work.
One question though, it seems to do this in background, I mean, if a user doesn't know that something is happening then they might hit refresh or something.
Is there any way I can actually tell the end-user to wait while the zip is being prepared and when it is REALLY finished then it asks the user to continue?
I can do a fake echo but that won't help.