Hello,
This really simple function do not works, can you help me please?
$pp = popen("gpg --delete-key $key_id", "w");
fputs($pp, "y\r");
pclose ($pp);
That one works well:
$pp = @popen("gpg --list-keys", "r");
$result = "";
while(!feof($pp)) {
$result .= fread($pp, 1024*8);
flush();
}
pclose($pp);
apache has all the rights to do it.
Thank you in advance!
Frankqc