Re: Php and GpG
| From: | Evan Nemerson | Date: | Mon, 23 Feb 2004 20:40:18 +0000 |
| Subject: | Re: Php and GpG | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178591@lists.php.net to get a copy of this message | ||
On Monday 23 February 2004 10:49 am, Adam Bregenzer wrote:
> On Mon, 2004-02-23 at 08:35, Paul Marinas wrote:
> > Those anyone know hoh to use php with gpg. I've tryed gpgext, but doesn't
> > seems to work maybe my php is not compiled with some kind of support.
>
> You will need to call gpg from your script using either a socket
> connection[1], something from the exec family[2], or backticks[3].
I seem to remember someone writing an extension using GPGME, but IIRC GPGME is
GPL'd so there may be some licensing issues... worth a look, though
>
> [1] http://www.php.net/popen
> [2] http://www.php.net/ref.exec
> [3] http://www.php.net/operators.execution
>
> --
> Adam Bregenzer
> adam@bregenzer.net
> http://adam.bregenzer.net/
--
Evan Nemerson
evan@coeus-group.com
http://coeusgroup.com/en