vulnerability tester in PHP


I am building a small vulnerability tester in PHP that checks a URL for vulnerabilities. The check uses a function that either outputs Yes, or No. instead of having to wait for the whole page to load, is there a way to print them out one at a time as they are checked?

I think its depends on the browser, it will display line per line.

after you echo the line use these 2 lines:

ob_flush();
flush();