RE: [PHP-DEV] 3.1 killed a serious problem+question

From: Date: Sat, 29 Aug 1998 16:13:14 +0000
Subject: RE: [PHP-DEV] 3.1 killed a serious problem+question
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-651@lists.php.net to get a copy of this message
> 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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#651) next »