worked wunderfull. thx
"Tyler Longren" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 005101c17d89$42085b40$0101a8c0@Longren">news:005101c17d89$42085b40$0101a8c0@Longren... > Hello, > > I did this once with ping: > exec("ping -c $count $host", $result); > for ($i=0; $i < count($result); $i++) { > $data .= "$result[$i]<br>"; > } > print "$data"; > > That might work for ya. > > Good luck, > Tyler Longren > > ----- Original Message ----- > From: "Daniel Masur" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, December 05, 2001 5:50 AM > Subject: [PHP] format output from exe() > > > > how can i format the output from: > > > > $who = passthru(system(who)); > > echo $who; > > > > it doesnt put breakes behind each line, so all the stuff iss just one line > > till the browsers to short... > > > > anybody can help? > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]