Welcome Guest, Not a member yet? Register   Sign In
Flush output data
#1
Sad 

Good guys

The problem is that I can not make the information of a sequence of processes within a function, feed back to the user.


PHP Code:
echo "Data 1 Done";
flush();
ob_flush();
sleep(1);

echo 
"Data 2 Done";
flush();
ob_flush();
sleep(1);

echo 
"Data 3 Done";
flush();
ob_flush();
sleep(1); 
Some idea of how to do this, either to use with ajax or simply to show the sequence in the view. Thank you
Reply


Messages In This Thread
Flush output data - by xfxstudios - 01-06-2018, 05:18 PM
RE: Flush output data - by InsiteFX - 01-06-2018, 11:34 PM
RE: Flush output data - by xfxstudios - 01-07-2018, 08:05 AM
RE: Flush output data - by InsiteFX - 01-07-2018, 12:11 PM
RE: Flush output data - by xfxstudios - 01-07-2018, 12:53 PM
RE: Flush output data - by InsiteFX - 01-07-2018, 07:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB