The set_time_limit function - [uk.php.net...] - does the same thing as max_execution_time, but you might find the user notes on the manual useful if you haven't seen them already. Have you checked your server timeout values as well as PHP's, because that could well be the cause of the problem I guess.