WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Set the maximum execution time for the current script
This function changes the maximum execution time for the current script. If the script continues to execute for longer than this time it is terminated. The default value is not affected by this function, it is configured in Control Panel > uPHP Script Setup (uPHP Settings) and is stored in /config/uphp.ini
.
$seconds: Maximum execution time
None
<? max_execution_time(600); // allow the script to run for up to ten minutes ?>
microtime() - Return the number of milliseconds since boot
time() - Return the current system timestamp
uptime() - Return the uptime in milliseconds