Hello all,
I have to execute a shell script to use gpg to encrypt emails.
If tried several different ways to execute the shell command:
$string = shell_exec("gpg -e -r [email]mymail@mail.com[/email] text.txt");
I also tried system, exec aso...
My problem is, that I don't get any output back from the script.
I tired executing a shell script aso, but still no output.
The "php-user" has permissions and stufff.
For example a shell_exec("ls -l") works fine.
when I run my php script form command-line it works as well.
tia,
dani