I am trying to run a shell script from php interface
heres shell file (run.sh chmod to 777)
#!/bin/bash wget -O index.html http://markets.usatoday.com/custom/usatoday-com/html-mktscreener.asp python hw7-9.py index.html echo "done";
Here is the php front end
<?php $output = shell_exec("run.sh"); echo "<pre>$output</pre>"; ?>
But this php page returns nothing but
<pre></pre>
Kamran224
source share