[BlueOnyx:10538] Re: PHP exec()
Gerald Waugh
gwaugh at frontstreetnetworks.net
Fri May 11 05:07:26 -05 2012
On 05/10/2012 08:58 PM, Ernie wrote:
> I have a site that has been using the PHP exec() to call /usr/bin/gpg it was on an
> old BlueQuartz server. When I moved it to a 5108R server exec() is disabled
> by default. I turned on suPHP and enabled exec() in the vsites php.ini file
> as a work around.
>
> My question is, how can you call gpg from within PHP? Is there a library or
> some other extension? The reason for it is to encrypt the contents of an
> email that contains confidential data generated by a form submission.
>
see if
string system ( string $command [, int &$return_var ] )
will work for you
--
Gerald
More information about the Blueonyx
mailing list