added handler for directi

This commit is contained in:
sparc 2005-10-21 14:17:22 +00:00
parent caa937865b
commit 4d31956c44
4 changed files with 72 additions and 6 deletions

View file

@ -1,3 +1,6 @@
2005/10/21 David Saez <david@ols.es>
- added handler for Directi
2005/10/20 David Saez <david@ols.es>
- added handler for gtld IANA
- updated .org handler

View file

@ -65,16 +65,17 @@ class gtld_handler extends WhoisClient
'COMPUTER SERVICES LANGENBACH GMBH DBA JOKER.COM' => 'joker',
'CORE INTERNET COUNCIL OF REGISTRARS' => 'core',
'CRONON AG BERLIN, NIEDERLASSUNG REGENSBURG' => 'cronon',
'DIRECT INFORMATION PVT. LTD., DBA DIRECTI.COM' => 'directi',
'DOMAIN BANK, INC.' => 'domainbank',
'DOMAINDISCOVER' => 'buydomains',
'DOTSTER, INC.' => 'dotster',
'ENOM, INC.' => 'enom',
"GO DADDY SOFTWARE, INC." => 'godaddy',
"IHOLDINGS.COM, INC. D/B/A DOTREGISTRAR.COM" => 'dotregistrar',
"INNERWISE, INC. D/B/A ITSYOURDOMAIN.COM" => 'innerwise',
"INTERCOSMOS MEDIA GROUP, INC. D/B/A DIRECTNIC.COM" => "directnic",
"INTERDOMAIN, S.A." => "interdomain",
"MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE" => "inwwcom",
'GO DADDY SOFTWARE, INC.' => 'godaddy',
'IHOLDINGS.COM, INC. D/B/A DOTREGISTRAR.COM' => 'dotregistrar',
'INNERWISE, INC. D/B/A ITSYOURDOMAIN.COM' => 'innerwise',
'INTERCOSMOS MEDIA GROUP, INC. D/B/A DIRECTNIC.COM' => 'directnic',
'INTERDOMAIN, S.A.' => 'interdomain',
'MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE' => 'inwwcom',
'MONIKER ONLINE SERVICES, INC.' => 'moniker',
'NETWORK SOLUTIONS, INC.' => 'netsol',
'NETWORK SOLUTIONS, LLC.' => 'netsol',

View file

@ -32,6 +32,7 @@ bulkr bulkregister.com
buydomains buydomains.com
core corenic.com
cronon antiquea.com
directi directi.com
directnic directnic.com
domainbank domainbank.com
dotregistrar dotregistrar.com

61
whois.gtld.directi.php Executable file
View file

@ -0,0 +1,61 @@
<?php
/*
Whois.php PHP classes to conduct whois queries
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
Maintained by David Saez (david@ols.es)
For the most recent version of this package visit:
http://www.phpwhois.org
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
if (!defined('__DIRECTI_HANDLER__'))
define('__DIRECTI_HANDLER__', 1);
require_once('whois.parser.php');
class directi_handler
{
function parse($data_str, $query)
{
$items = array(
'owner' => 'Registrant:',
'admin' => 'Administrative Contact:',
'tech' => 'Technical Contact:',
'billing' => 'Billing Contact:',
'domain.name' => 'Domain Name:',
'domain.nserver.' => 'Domain servers in listed order:',
'domain.created' => 'Creation Date:',
'domain.expires' => 'Expiration Date:',
'domain.status' => 'Status:',
'domain.sponsor' => 'Registration Service Provided By:'
);
$r = get_blocks($data_str, $items);
$r["owner"] = get_contact($r["owner"]);
$r["admin"] = get_contact($r["admin"]);
$r["tech"] = get_contact($r["tech"]);
$r["billing"] = get_contact($r["billing"]);
$r = format_dates($r, 'ymd');
return ($r);
}
}
?>