File listing problem through apache
<p>I want list files of a particular directory using php exec function. I have used this </p>

<pre><code>exec('ls /home/vikas/hft/a5/traders/sa/*.bin', $NameOfBinaries);
</code></pre>

<p>code for listing the bin files from <code>/home/vikas/hft/a5/traders/sa/</code> directory. It works fine when I run the script in CLI mode but when I run in browser it return empty array.</p>
