On Mon, Apr 16, 2001 at 12:42:50PM +0200, indrek siitan wrote:

> I've coded an additional PHP module, which I want to be a paid
> add-on feature to the clients. Is there a way to disable the 
> module or functions (it contains 2 functions) globally and then 
> specifically enable them to certain virtual hosts?

you can globally disable function with:

| disable_functions       = 

in php.ini.
For the vhosts, which are allowed to use the functions you can
create a special php.ini, which is loadad (afaik) via .htaccess
then (I'm not sure on this...remember to have read something like
that on this list -> you might want to check the archieve)

-fkr
-- 
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0 
  |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE  |
  |all your base are belong to us  |  shame on me  | fkr@IRCnet | 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to