I have a php script that uses cURL and takes about 10-15 minutes to execute. What it does, it parses about 1000 pages looking for specific matches and throughout the script I ha
I'm using the @ob_flush() after every echo. In this example PHP_EOL creates a new line after $string
@ob_flush()
echo
PHP_EOL
$string
function output($string){ echo $string.PHP_EOL; @ob_flush(); }