I've written a script and have been testing it from my shell account - this is just a little example to give you an idea...
print "Something\n";
sleep(2);
print "Something\n";
....now, as it is it will load for 2 seconds and then print:
Something
Something
....that sucks, so I'm flushing the buffer so it goes:
Something
Wait 2 seconds
Something
....this works as expected from my shell account but it won't work from my browser. I just works as if I hadn't flushed any buffers....how do I get it to work the same way as from my shell account?
print "Something\n";
sleep(2);
print "Something\n";
....now, as it is it will load for 2 seconds and then print:
Something
Something
....that sucks, so I'm flushing the buffer so it goes:
Something
Wait 2 seconds
Something
....this works as expected from my shell account but it won't work from my browser. I just works as if I hadn't flushed any buffers....how do I get it to work the same way as from my shell account?