note 25113 added to function.set-time-limit

From: Date: Wed, 11 Sep 2002 08:05:21 +0000
Subject: note 25113 added to function.set-time-limit
Groups: php.notes 
Request: Send a blank email to php-notes+get-36498@lists.php.net to get a copy of this message
This function is often restricted by the safe_mode used on PHP web hosting providers, so you cannot change the time limit (most providers limit your scripts at 20 to 30 seconds) Some paranoid providers also restrict the use of set_user_abort(): this creates a big security issue for hosted web sites, because set_user_abort() allows safe atomic update operations on critical files, provided that your script runs in a time lower than the time limit required by the provider. All web hosting providers should use the safe_mode by default on servers shared by multiple customers. But they should not restrict set_user_abort() or any visitor of the hosted web site can corrupt critical files or databases used by hosted web sites! -- http://www.php.net/manual/en/function.set-time-limit.php http://master.php.net/manage/user-notes.php?action=edit+25113 http://master.php.net/manage/user-notes.php?action=delete+25113 http://master.php.net/manage/user-notes.php?action=reject+25113

« previous php.notes (#36498) next »