PHP_Timeout{( seconds )}
Description
Allows you to get or set the timeout duration for PHP execution or to get the current timeout setting.
Parameters
seconds
(optional)
The number of seconds before execution should timeout and return control to FileMaker. Use 0 to reset timeout to the default which is 60 seconds.
Return
Returns 0 when the timeout setting is updated or the current setting when no parameters are passed.
Errors
106 Invalid parameter; The seconds parameter must be a positive, non-zero number.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
PHP_Timeout ( 5 * 60 ) /* Returns: 0 // No error, timeout successfully set */ |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
PHP_Timeout /* Returns: 300 // Timeout setting is 300 */ |