This is an old revision of the document!
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Kill the script
None
None
<? die(); //nothing beyond this line will be executed while (1); //without the die() statement above we'd be stuck here until max_execution_time expires ?>
<? //kill the script if not logged in as an administrator: if ($_SESSION['admin']==0) die(); ?>
Mainline PHP has a function or language construct exit()
which is not implemented in uPHP.
process_kill() - Send a kill request to the process number
max_execution_time() - Set maximum execution time in seconds
while - Flow control structure for a conditional loop