Re: Mail-Encryption

From: Date: Wed, 07 Feb 2001 21:42:50 +0000
Subject: Re: Mail-Encryption
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38818@lists.php.net to get a copy of this message
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.

« previous php.general (#38818) next »