On Wed, 08 May 2002 22:09:59 +0200, Gerard Samuel wrote:

> The reason for this thought was that I have given up on gettext because
> it requires putenv(), and most people who are using my script wouldn't
> be able to use it because safe_mode is on.

You are correct! But this is how the gettext library works, which has
nothing to do with php. One thing you could do is to add:

safe_mode_allowed_env_vars = PHP_,LANGUAGE

to your php.ini file. This should be safe enough for safe_mode!

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

Reply via email to