Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 31 | All time: 11,126 This week: 40![]() |
Version | License | PHP version | Categories | |||
iana-enterprise-numb 1.0.0 | MIT/X Consortium ... | 5 | Networking, PHP 5, Searching, Web ser... |
Fetch the PEN List from IANA and optionally search in it.
header('Content-Type: text/plain');
$Fetcher = new IanaPenListFetcher();
$result = $Fetcher();
echo print_r(count($result), true). " Records found\n";
//This should search and find the SAME entry (by email, id, oid, name, org):
echo print_r($Fetcher('till@webfan.de'), true). "\n";
echo print_r($Fetcher(37553), true). "\n";
echo print_r($Fetcher('1.3.6.1.4.1.37553'), true). "\n";
echo print_r($Fetcher('Wehowski'), true). "\n";
echo print_r($Fetcher('frdl'), true). "\n";
Optionally with custom configuration:
$Fetcher->setRoot('1.3.6.1.4.1');
$Fetcher->setUrl('https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers');
$Fetcher->setCachelimit(60 * 60);
$Fetcher->setCachefile(__DIR__.\DIRECTORY_SEPARATOR.'penlist.php');
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
![]() | iana-enterprise-numb-2023-01-27.zip 4KB |
![]() | iana-enterprise-numb-2023-01-27.tar.gz 3KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.