note 39741 added to function.set-time-limit
| From: | y_t_hon at hotmail dot com | Date: | Mon, 09 Feb 2004 11:18:54 +0000 |
| Subject: | note 39741 added to function.set-time-limit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64877@lists.php.net to get a copy of this message | ||
<?php
if (!ini_set("max_execution_time","120")) {
echo "setting cannot be set";
exit;
}
?>
You can add the above script to you own script, so that it can have a timeout of 120 sec. This
script needed to be added on every script that you want to have a timeout of 120 sec.
----
Manual Page -- http://www.php.net/manual/en/function.set-time-limit.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39741
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39741&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39741&report=yes
Search -- http://master.php.net/manage/user-notes.php