Php, wait 5 seconds before executing an action

前端 未结 7 511
执笔经年
执笔经年 2021-02-05 00:42

I have a .php script that I use for creating the list of my products. I am on shared hosting, so I can\'t do a lot of queries otherwise I get a blank page.

This

7条回答
  •  你的背包
    2021-02-05 01:13

    In Jan2018 the only solution worked for me:

     Line to show.";
        echo str_pad('',4096)."\n";    
    
        ob_flush();
        flush();
        sleep(2);
    }
    
    echo "Done.";
    
    ob_end_flush();
    

    ?>

提交回复
热议问题