sparc / phpWhois.org

Original phpWhois soruces
http://www.phpwhois.org
GNU General Public License v2.0
95 stars 43 forks source link

missing .app, .team. .training and others #24

Closed eliataylor closed 2 years ago

eliataylor commented 2 years ago

at a glance, it seems like we just need to add the missing files. For example, for .app:

I created whois.app.php with:

<?php
require_once('whois.parser.php');

if (!defined('__APP_HANDLER__'))
    define('__APP_HANDLER__', 1);

class app_handler
    {
    function parse($data, $query)
        {
        $r['regrinfo'] = generic_parser_b($data['rawdata']);
        $r['regyinfo']['referrer'] = 'whois.nic.google';
        $r['regyinfo']['registrar'] = 'Charleston Road Registry Inc.';
        return $r;
        }
    }
?>
eliataylor commented 2 years ago

found answer in https://github.com/sparc/phpWhois.org/blob/master/Handlers.md