From: Mike N. <mh...@us...> - 2003-02-20 20:11:57
|
On Thu, 2003-02-20 at 11:53, Pierre-Alain Joye wrote: > On Thu, 20 Feb 2003 13:42:17 -0600 (CST) > Don Seiler <do...@se...> wrote: > > > Mike Noyes sent me a link which reveals that a php page can use the > > ini_set() function to change ini settings, notably for us > > memory_limit. Currently this is possibly even in safe mode, although > > many think it should be disabled in safe mode. > > imho, it's not a good thing to use ini_set inside your application, > ini_set is not always available, but php_admin inside htaccess are > allowed. To be more portable, that should be easier to make the code > work in each configuration. Pierre, Did you mean php_value instead of php_admin? It's my understanding that php_admin_value and php_admin_flag can not be used in .htaccess. ref. http://www.php.net/manual/en/configuration.changes.php#AEN2152 -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |