Re: [PHP] Using GPG in Safe Mode

2006-01-19 Thread Richard Lynch
On Mon, January 16, 2006 8:28 pm, [EMAIL PROTECTED] wrote: My ISP have php set for safe mode. And now I'm trying to run gpg from php. Basically I'm trying to run this from exec(): echo testar testar | /usr/local/bin/gpg --homedir /home/myuser/ .gnupg -a --always-trust --batch

[PHP] Using GPG in Safe Mode

2006-01-17 Thread emil
Hello, My ISP have php set for safe mode. And now I'm trying to run gpg from php. Basically I'm trying to run this from exec(): echo testar testar | /usr/local/bin/gpg --homedir /home/myuser/ .gnupg -a --always-trust --batch --no-secmem-warning -e -u Test Test [EMAIL PROTECTED] .com -r Test

Re: [PHP] Using GPG in Safe Mode

2006-01-17 Thread Edwin Barrios
Hi emil ! If you are using gnupg comand line, there is not way on PHP-safe mode. The only way that i know to wrap around this problem it's install pecl extension package calls gnupg (http://pecl.php.net/package/gnupg). This extension use libgpgme that bind all gnupg comand line options, then it