PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_DNSBL » Bug #4360

Returning which blacklist was hit

Details

Request #4360Returning which blacklist was hit
Submitted2005-05-16 19:01 UTC
Fromtom dot laermans at powersource dot cx
Assignednohn
StatusClosed
PackageNet_DNSBL
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2005-05-16 19:01 UTC] tom dot laermans at powersource dot cx

Description:
------------
Currently the check function only returns true or false, with no way to check which blacklist actually has the IP listed.

I suggest either returning the blacklist name instead of true, or making a separate function for it (if so, a separate function for the actual return code may also be useful).

[2006-03-10 18:36 UTC] nohn at php dot net

This issue has been fixed in CVS and will be available with version 1.1.0.