Re: [PHP] Re: Using GPG in Safe Mode

2006-01-19 Thread Edwin Barrios
Hi, emil

Using safe_mode_exec_dir, it's a solution if  you has access to your
php.ini or http.conf, because it's a PHP_INI_SYSTEM var. For these reason
you can't set this var with ini_set() function on a php script.

If your ISP has a very restricted setting, i think that the solutions that
comex comments it's a good one, it'sn't my prefered solution by security
issues.

P.S.D
i never have proved if setting PHP_INI_SYSTEM vars it's posible on a
.htacces file.



On 1/18/06, M [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  Hi Edwin!
 
  Thanks for the tips but my ISP hasn't given me root. I'm very sad to
 hear gpg from cli won't work under safe mode. Are there any 100% php
 implementations of GPG I could use? (because I guess that is the only way
 that is left?)
 
  /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
 

 there is a way. if gpg binary is in safe_mode_exec_dir

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Using GPG in Safe Mode

2006-01-18 Thread M

[EMAIL PROTECTED] wrote:

Hi Edwin!

Thanks for the tips but my ISP hasn't given me root. I'm very sad to hear gpg 
from cli won't work under safe mode. Are there any 100% php implementations of 
GPG I could use? (because I guess that is the only way that is left?)

/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




there is a way. if gpg binary is in safe_mode_exec_dir

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Using GPG in Safe Mode

2006-01-17 Thread emil

Hi Edwin!

Thanks for the tips but my ISP hasn't given me root. I'm very sad to hear gpg 
from cli won't work under safe mode. Are there any 100% php implementations of 
GPG I could use? (because I guess that is the only way that is left?)

/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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Using GPG in Safe Mode

2006-01-17 Thread comex
 If you are using gnupg comand line, there is not way on PHP-safe mode.

I think it's possible to create a shell script that the PHP script can
call and get around safe_mode that way.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php