in reply to Re^2: Sending html content to the browser as the script runs
in thread Sending html content to the browser as the script runs

I ran your script as is and got:
processing file my second is: 42 my second is: 45 done processing file
What server software are you using? Not all servers support NPH scripts.

jdtoronto

Replies are listed 'Best First'.
Re^4: Sending html content to the browser as the script runs
by perljunkymunky (Initiate) on Aug 03, 2006 at 16:18 UTC
    Apache 1.3

    When you ran the script, did it print the first two lines and then hang for 3seconds before printing the third and fourth lines?

    For me, it just dumped it all at once.

    -josh