title: show exec returned value
body: <p>i am using this code in test.php:</p>
  
  <pre><code>    &lt;?php
       $con=mysql_connect('localhost','username','password');
       exec("awk commend",$out);
       foreach($out as $line)
       {
         echo $line;
       }
        mysql_close($con);
      ?&gt;
  </code></pre>
  
  <p>when i use <code>php /var/www/html/test.php</code> it give the result of execution. 
  What can I do to show the result in browser?</p>