Question about set_time_limit and max_execution_time

From: Date: Fri, 07 Jun 2002 23:51:12 +0000
Subject: Question about set_time_limit and max_execution_time
Groups: php.general 
Request: Send a blank email to php-general+get-101218@lists.php.net to get a copy of this message
I've got a mail function script that occasionally terminates midway while sending out about 600 emails. The symptoms point to the "max_execution_time", which is set for 30 seconds. The question is how to best handle it. set_time_limit only seems to apply to the script that contains it. Yet there are several scripts involved in the application. Must every one of them contain the set_time_limit also? Or, would the "max_execution_time" function be a better way to handle it? Can the php cgi versions honor the "max_execution_time"? I can't think of a way to determine if it sets the config file. Thanks....

« previous php.general (#101218) next »