problem formatting php output
<p>I have a php website that I want to use to gather information from a unix server. A good example would be a script that would ssh into a server and run an ls command. I am having problems formatting the output so it is readable. Any help would be appreciated. The code would look something like this:</p>

<pre><code>$output = system("ssh user@testServer ls -al");
print ($output);
</code></pre>
