Re: Enable exec() and system() for a directory only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on 10/18/04 10:40 AM, David Garcia Aristegui at david@xxxxxxxxxx wrote:

> Hello, newbie question: how can i enable exec() and system() for a
> certain directory only? Thank you in advanced.


I think this would require you to use the 'php_admin_flag' command in the
virtual host's config file.

Kinda like this:

php_admin_flag safe_mode off
php_admin_flag register_globals on
php_admin_flag allow_url_fopen off




+--------------------------------------------+
Mike Yrabedra 
Mac@xxxxxxxx 
Your Mac Intelligence Resource
+--------------------------------------------+
W: http://www.macagent.com/
E: agenty@xxxxxxxxxxxx

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux