Posted By

nicolaspar on 07/18/06


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

postNuKe
ringo
jkochis
vali29


Php setTimeLimit


 / Published in: PHP
 

  1. #reset script execution time limit (as set in MAX_EXECUTION_TIME ini directive)...
  2. #requires SAFE MODE to be OFF!
  3. #Call: setTimeLimit(60);
  4.  
  5. function setTimeLimit( $time = 0 ){
  6. if( ini_get( 'safe_mode' ) != 1 ) {
  7. set_time_limit( $time );
  8. }
  9. }

Report this snippet  

You need to login to post a comment.