Re: [PHP-DEV] 3.1 killed a serious problem+question From: Jim Winstead (jimw <email protected>)
Date: 08/28/98

On Aug 28, Shane Caraveo wrote:
> I've also implemented a kind of half-assed way of letting dl's be loaded in
> the ini file, and not throw up all over if dl() function loads the same dll.
> My fix was to basicly make the functions NOT fail if they discovered the
> functions were already in the tables (they just don't add them again), and
> to reduce the error levels to notices. What I would like to know is, is the
> dl filename saved anywhere that we can check for, if not, is there a quick
> and easy way to do that? I know we're saving the handle, can we save the
> filename with the handle? I would rather check on the dl's filename than
> the functions. That way we could throw up errors if two different dl's are
> loading functions with the same names. Oh, I also implemented the ability
> to not have to use dl file extensions in the ini file or the dl() function.

You would need to be careful to just store the basename or something like
that so you don't throw up when someone loads it with different paths
from the ini file and the dl() call.

Jim

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>