Carl,
thank you for your basic RTFM. I guess that is why this forum is here so you have some place to tell every one RTFM.
Jamie and Mike, the call ob_implicit_flush() at the start of your script works like nph in cgi.
but the problem I am having is that I am running a exec() and php is buffering the out put of the exec().
so I found popen() but it still buffers the out put.
this was how I was doing it before
exec("traceroute $traceaddress", $tracearray);
and with popen like this
$pipe = popen ("traceroute $traceaddress", "r");
while($new_output = fgets($pipe, 1024)) {
print "$new_output";
}
pclose($pipe);
any ideas on a work around?