Re: Line By Line Output
| From: | David Collard | Date: | Sun, 04 Sep 2005 13:38:22 +0000 |
| Subject: | Re: Line By Line Output | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26295@lists.php.net to get a copy of this message | ||
Sabin Finateanu wrote:
Hi! I'm trying to run trace route for an address in a PHP script. My question is how can I make it display the output line by line as it appears instead of waiting for the command to finish executing an then outputting the whole result, and what command should I use: system, exec or shell_exec? I'm using PHP 5.0.4 on Windows XP with Apache 2.0.54. Thank you. Sabin Finateanu use it from the command line, and try writing to stdout instead of using echo()/print()