PHP

HOW TO SET EXECUTION TIME LIMIT IN PHP

SET IN PHP.INI max_execution_time=180

SET IN .HTACCESS php_value max_execution_time 180

WAYS TO SET TIME LIMIT (A)

01

SET IN PHP SCRIPT set_time_limit(180);

THE OTHER WAY ini_set("max_execution_time", 180);

WAYS TO SET TIME LIMIT (B)

02