gpg code problem

Sven Radde email at sven-radde.de
Thu Mar 20 12:33:26 CET 2008


manoj schrieb:
> i am trying this using php on windows
> $res=shell_exec("echo $passphrase | $gpg --passphrase-fd 0 
> --clearsign  'd:\gp_test\tt.inmp'");
>  but is not working
What "is not working"?
Can you call the GPG executable at all? I.e. try to print the output of 
"gpg --version" in your PHP page.

As a guess, I would assume that you have PHP's "safe mode" activated 
which limits calls to shell_exec.

cu, Sven



More information about the Gnupg-users mailing list