Thank you, but there is not a lot of data. No database either, actually. Script (normally) finishes in about a second or so. Obviously something, sometimes, goes wrong. Ultimatly, I need to find the actual problem, but I would very much like it to abort before causing server side trouble!
It is, I should have explained, working most of the time. It parses some user submitted text. Probably that text is sometimes not what I or the script assumes. I don't even care to provoke an error, worried about me being thrown out from the web hotel again
Maybe I just need to make all loops safe. I still hope there is a way to generally safeguard against this kind of error though.
Any ideas?