On Thu, 8 Feb 2001, Richard Lynch wrote:
> You can find a long-winded post from me a year or two ago about my trials
> and tribulations (and a *lot* of help from others to get me going).
I found a pgp class and took parts of it to work with gpg, but it doesn't
work in safe-mode. I'm using this pipe to pass the data to encrypt to gpg:
$comm = "echo '$data' | $this->gpg-commmand";
$fd = popen("$comm","r");
if (!$fd) {
return -2;
}
$encrypted = "";
while (!feof($fd)) {
$encrypted .= fgets($fd,4096);
}
pclose($fd);
This returns echoes the part after the | in safe-mode. How could this work
in this mode?.
Thank you.
Rodolfo.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]