Michael P. Carel wrote:
When I do this:
<?header("Content-Type: text/plain");
$ps = (passthru("ps -ef)); ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100%" height="287" valign="top"><? echo $ps;  ?></td>
  </tr>
</table>

I can also see the HTML code, i need to put  the output  inside the table.
Is there any solution for this?


Just remove first line of Your code or replace 'text/plain' with 'text/html'.


And put <? echo $ps; ?> inside <PRE>-tags, as anwsered previously.


-- Pavel a.k.a. Papi

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to