Re: CVS update: php3

From: Date: Fri, 14 Aug 1998 00:37:35 +0000
Subject: Re: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-199@lists.php.net to get a copy of this message
Hi Rasmus, > - Added config-option (php3_)enable_dl <on/off>. This enables/disables the >! dl() function. In safe-mode dl() is disabled by default. Not true in the current situation: if (!php3_ini.enable_dl) { php3_error(E_ERROR, "Dynamically loaded extentions aren't enabled."); } else if (php3_ini.safe_mode) { php3_error(E_ERROR, "Dynamically loaded extensions aren't allowed when running in SAFE MODE."); } else { php3_dl(file,MODULE_TEMPORARY,return_value); } Safe-mode can't be safe with dl() enabled. I didn't want people to think they could "safely" enable dl() by turning on safe_mode and enable_dl at the same time. Allowing dl() in safe-mode doesn't make sense (to me :) Sander. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#199) next »