Re: Fwd: Re: dl() problem
| From: | Stanislav Malyshev | Date: | Wed, 11 Feb 2004 13:40:33 +0000 |
| Subject: | Re: Fwd: Re: dl() problem | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7741@lists.php.net to get a copy of this message | ||
PJ>> No it is not. And this discussion (sorry) is going to be silly. We
PJ>> are not talking about such things but the ability to load a module at
PJ>> runtime.
Concepts of modules differ. PHP is built, more or less, so that you write
in PHP using existing language facilities, and aren't supposed to change
the facilities from PHP. That's why dl() is problematic - it violates this
principle.
PJ>> I want to use an extension in a specific script/part that should not
PJ>> be available in other parts. A common usage. Or only for one host but
PJ>> not the other?
I don't really see a reason why somebody would want to enable GD to one
vritual server while denying it to the rest. What's the point in it - you
don't save anything?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109