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++) {
>
Daniel Masur wrote:
> 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...
Try this:
echo "$who";
Or substitute those newlines with the equivalent html-l
Hello,
I did this once with ping:
exec("ping -c $count $host", $result);
for ($i=0; $i < count($result); $i++) {
$data .= "$result[$i]";
}
print "$data";
That might work for ya.
Good luck,
Tyler Longren
- Original Message -
From: "Daniel Masur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
3 matches
Mail list logo