Date: 08/29/98
- Next message: Stig S. Bakken: "Re: [PHP-DEV] CVS update: php3/doc"
- Previous message: Jim Winstead: "Re: [PHP-DEV] 3.1 killed a serious problem+question"
- In reply to: Jim Winstead: "Re: [PHP-DEV] 3.1 killed a serious problem+question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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.
>
That wouldn't be good. If I put the snmp module in two locations, it would
still be the same module, and I wouldn't want to load it twice anyway.
Module writers just have to be sure they give their modules different names.
Shane
-- 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>
- Next message: Stig S. Bakken: "Re: [PHP-DEV] CVS update: php3/doc"
- Previous message: Jim Winstead: "Re: [PHP-DEV] 3.1 killed a serious problem+question"
- In reply to: Jim Winstead: "Re: [PHP-DEV] 3.1 killed a serious problem+question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

