Hi Jacob,
The script does indeed run, and I have since added the following :
$shell_return = shell_exec(./info.sh . 21);
This pointed out to me that the error was in the script itself, and not
the php...
I have now sorted this out so it works as expected...
Thanks for your time in
Does the script work when you run it by hand?
Try to insert an echo TESTER in the top the shell script to make sure
something is sent to stdout. And then check in your php script that you
receive the message.
Best regards,
Jacob Vennervald
On Wed, 2003-08-06 at 08:38, Chris Blake wrote:
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
3 matches
Mail list logo