Greetings learned PHP(eople);

I have a small script sitting in my web directory which I have called
upon as follows :

<?php
shell_exec('./info.sh');
?>

The script is not being run, yet I can do things like

<?php
$info=shell_exec('ls -l');
echo '<pre>$info</pre>';
?>

..which produce output to the browser...

I have tried 'chown apache:apache info.sh' but this doesn`t change
anything....
I have also tried using './info.sh' with no result....

Any pointers much appreciated as to why this won`t work. The permissions
are as follows for the script file :

-rwxrwxrwx    1 root     root         2456 Aug  5 16:35 info.sh

Regards

-- 
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379

Join the army, see the world, meet interesting, exciting people, and
kill them.


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

Reply via email to