I want to create a progress bar for a server-side task ( written in php )
For learning purposes the example and task would be very simplistic. I would have a te
Here is the solution to made progress bar in PHP without javascript only on server side:
echo "Start... "; for ($i = 0; $i<20; $i++){ echo ''; ob_flush(); flush(); usleep(100000); } echo " Done!."; ob_end_flush();exit;