How to tell the PHP server to interrupt the howling process for t seconds and then continue again. As much as possible without loading the server.

  • five
    You will not believe, analog sleep(5) on php - sleep(5) =) - Sh4dow
  • one
    I was already going to do in while .. - alex_90

2 answers 2

Delaying the execution of sleep () . There is a similar usleep () function and the set_time_limit () function, which limits the execution time. So "Analogue sleep (5) in PHP" - this is sleep))

    Analog? This is it)) It is not necessary to write it at the beginning of the code

     sleep(10); // засыпаем на 10 сек. // дальше код 
    • @johniek_comp, To format the code, select it with the mouse and click on the button 101010 of the editor. - angry