How to use php sleep function in vb
Hi,
I want to use sleep function in the installation code of the plugin, however i cannot display any message before the function. Everything is being displayed at the end of the installation process.
Example:
echo test;
flush();
ob_flush();
vbflush();
sleep(2);
echo test;
die();
It returns testtest after two minutes and i want to display test and after two minutes another test message.
I tried to use all kind of flush functions, but none of the above worked.
Any idea how I can do that?
|