Problem is I've no way to figure out if somethings gone wrong in the middle (like infinte loop).
For that I need something to show that some data is actually being retrieved.
I may even know the number of iterations required - so I can cross check if '|' is displayed more than the required times.
Code: Select all
...
Loop
{
// Retrieve details - This actually writes to a file
fwrite($handle,$details);
flush();ob_flush();
echo "|";
usleep(100); // To avoid taking entire CPU usage
}
echo "Done !":