• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_contact函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_contact函数的典型用法代码示例。如果您正苦于以下问题:PHP get_contact函数的具体用法?PHP get_contact怎么用?PHP get_contact使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_contact函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: parse

 function parse($data, $query)
 {
     $items = array('domain.name' => 'Domain:', 'domain.status' => 'Status:', 'domain.nserver' => 'Nameservers:', 'domain.created' => 'Registered:', 'owner' => 'Licensee:', 'admin' => 'Onsite Contacts:', 'tech' => 'Agent Technical Contacts:', 'agent' => 'Agent:');
     $r['regrinfo'] = get_blocks($data['rawdata'], $items);
     if (isset($r['regrinfo']['domain']['name'])) {
         $r['regrinfo']['registered'] = 'yes';
         $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech']);
         $r['regrinfo']['owner'] = get_contact($r['regrinfo']['owner']);
         if (isset($r['regrinfo']['admin'])) {
             $r['regrinfo']['admin'] = get_contact($r['regrinfo']['admin']);
         }
         if (isset($r['regrinfo']['agent'])) {
             $sponsor = get_contact($r['regrinfo']['agent']);
             unset($r['regrinfo']['agent']);
             $r['regrinfo']['domain']['sponsor'] = $sponsor['name'];
         }
         $r = format_dates($r, '-mdy');
     } else {
         $r['regrinfo']['registered'] = 'no';
     }
     $r['regyinfo']['referrer'] = 'http://www.domain-registry.nl';
     $r['regyinfo']['registrar'] = 'DNS Belgium';
     $r['rawdata'] = $data['rawdata'];
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:25,代码来源:whois.be.php


示例2: add_shadow_entry

function add_shadow_entry($item)
{
    // Is this a shadow entry?
    if ($item['uid'] == 0) {
        return;
    }
    // Is there a shadow parent?
    $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = 0 LIMIT 1", dbesc($item['parent-uri']));
    if (!count($r)) {
        return;
    }
    // Is there already a shadow entry?
    $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = 0 LIMIT 1", dbesc($item['uri']));
    if (count($r)) {
        return;
    }
    // Preparing public shadow (removing user specific data)
    require_once "include/items.php";
    require_once "include/Contact.php";
    unset($item['id']);
    $item['uid'] = 0;
    $item['contact-id'] = get_contact($item['author-link'], 0);
    $public_shadow = item_store($item, false, false, true);
    logger("Stored public shadow for comment " . $item['uri'] . " under id " . $public_shadow, LOGGER_DEBUG);
}
开发者ID:vinzv,项目名称:friendica,代码行数:25,代码来源:threads.php


示例3: parse

 function parse($data, $query)
 {
     $items = array('domain.name' => 'Nome de domínio / Domain Name:', 'domain.created' => 'Data de registo / Creation Date (dd/mm/yyyy):', 'domain.nserver.' => 'Nameserver:', 'domain.status' => 'Estado / Status:', 'owner' => 'Titular / Registrant', 'bill' => 'Entidade Gestora / Billing Contact', 'admin' => 'Responsável Administrativo / Admin Contact', 'tech' => 'Responsável Técnico / Tech Contact', '#' => 'Nameserver Information');
     $r['regrinfo'] = get_blocks($data['rawdata'], $items);
     if (empty($r['regrinfo']['domain']['name'])) {
         $r['regrinfo']['registered'] = 'no';
         return;
     }
     $r['regrinfo']['domain']['created'] = get_date($r['regrinfo']['domain']['created'], 'dmy');
     if ($r['regrinfo']['domain']['status'] == 'ACTIVE') {
         $r['regrinfo']['registered'] = 'yes';
     } else {
         $r['regrinfo']['registered'] = 'no';
     }
     if (isset($r['regrinfo']['admin'])) {
         $r['regrinfo']['admin'] = get_contact($r['regrinfo']['admin']);
     }
     if (isset($r['regrinfo']['owner'])) {
         $r['regrinfo']['owner'] = get_contact($r['regrinfo']['owner']);
     }
     if (isset($r['regrinfo']['tech'])) {
         $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech']);
     }
     if (isset($r['regrinfo']['bill'])) {
         $r['regrinfo']['bill'] = get_contact($r['regrinfo']['bill']);
     }
     $r['regyinfo'] = array('referrer' => 'http://www.fccn.pt', 'registrar' => 'FCCN');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:29,代码来源:whois.pt.php


示例4: parse

 function parse($data_str, $query)
 {
     $items = array('domain.name' => 'Domain Name            : ', 'domain.created' => 'Record Created         :', 'domain.changed' => 'Record	Last Updated    :', 'owner.name' => 'Registered for         :', 'admin' => 'Administrative Contact :', 'tech' => 'Technical Contact      :', 'domain.nserver' => 'Domain Name Servers listed in order:', 'registered' => 'No such domain: ', '' => 'The ZA NiC whois');
     // Arrange contacts ...
     $rawdata = array();
     while (list($key, $line) = each($data_str['rawdata'])) {
         if (strpos($line, ' Contact ') !== false) {
             $pos = strpos($line, ':');
             if ($pos !== false) {
                 $rawdata[] = substr($line, 0, $pos + 1);
                 $rawdata[] = trim(substr($line, $pos + 1));
                 continue;
             }
         }
         $rawdata[] = $line;
     }
     $r['regrinfo'] = get_blocks($rawdata, $items);
     if (isset($r['regrinfo']['registered'])) {
         $r['regrinfo']['registered'] = 'no';
     } else {
         if (isset($r['regrinfo']['admin'])) {
             $r['regrinfo']['admin'] = get_contact($r['regrinfo']['admin']);
         }
         if (isset($r['regrinfo']['tech'])) {
             $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech']);
         }
     }
     $r['regyinfo']['referrer'] = 'http://www.za.net/';
     // or http://www.za.org
     $r['regyinfo']['registrar'] = 'ZA NiC';
     format_dates($r, 'xmdxxy');
     return $r;
 }
开发者ID:davidegiunchidiennea,项目名称:all-in-one-wordpress-security,代码行数:33,代码来源:whois.zanet.php


示例5: parse

 function parse($data_str, $query)
 {
     $translate = array('fax-no' => 'fax', 'e-mail' => 'email', 'nic-hdl' => 'handle', 'person' => 'name', 'address' => 'address.', 'domain-name' => '', 'updated' => 'changed', 'registration-date' => 'created', 'domain-status' => 'status', 'nameserver' => 'nserver');
     $contacts = array('admin-contact' => 'admin', 'technical-contact' => 'tech', 'zone-contact' => 'zone', 'billing-contact' => 'billing');
     $extra = array('postal code:' => 'address.pcode');
     $reg = generic_parser_a($data_str['rawdata'], $translate, $contacts, 'domain', 'Ymd');
     if (isset($reg['domain']['description'])) {
         $reg['owner'] = get_contact($reg['domain']['description'], $extra);
         unset($reg['domain']['description']);
         foreach ($reg as $key => $item) {
             if (isset($item['address'])) {
                 $data = $item['address'];
                 unset($reg[$key]['address']);
                 $reg[$key] = array_merge($reg[$key], get_contact($data, $extra));
             }
         }
         $reg['registered'] = 'yes';
     } else {
         $reg['registered'] = 'no';
     }
     $r = array();
     $r['regrinfo'] = $reg;
     $r['regyinfo'] = array('referrer' => 'http://www.nic.ro', 'registrar' => 'nic.ro');
     return $r;
 }
开发者ID:SCS-CBU-CED-IAM,项目名称:cab-csr-validator,代码行数:25,代码来源:whois.ro.php


示例6: parse

 function parse($data_str, $query)
 {
     $items = array('domain.created' => 'Fecha de Alta:', 'domain.expires' => 'Fecha de Caducidad:', 'owner.name' => 'Titular:', 'admin' => 'Contacto Administrativo:', 'tech' => 'Contacto Técnico:', 'domain.nserver' => 'Servidores DNS:');
     $extra = array('nombre:' => 'name', 'organización:' => 'organization', 'dirección:' => 'address.street', 'población:' => 'address.city', 'código postal:' => 'address.pcode', 'país:' => 'address.country', 'teléfono:' => 'phone', 'provincia:' => '');
     array_shift($data_str['rawdata']);
     array_shift($data_str['rawdata']);
     $r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
     if (!isset($r['regrinfo']['domain']['created']) || is_array($r['regrinfo']['domain']['created'])) {
         $r['regrinfo'] = array('registered' => 'no');
         $r['rawdata'] = $data_str['rawdata'];
         $r['rawdata'][] = 'Domain not found';
         return $r;
     }
     if (isset($r['regrinfo']['admin'])) {
         $items['admin'] .= ' ' . $r['regrinfo']['admin'];
     }
     if (isset($r['regrinfo']['tech'])) {
         $items['tech'] .= ' ' . $r['regrinfo']['tech'];
     }
     $r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
     $r['rawdata'] = $data_str['rawdata'];
     $r['regrinfo']['admin'] = get_contact($r['regrinfo']['admin'], $extra);
     $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech'], $extra);
     $r['regrinfo']['registered'] = 'yes';
     $r['regyinfo'] = array('referrer' => 'http://www.nic.es', 'registrar' => 'ES-NIC');
     format_dates($r, 'ymd');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:28,代码来源:whois.es.php


示例7: parse

 function parse($data, $query)
 {
     $items = array('domain.name' => 'Domain:', 'domain.status' => 'Status:', 'domain.nserver' => 'Nameservers:', 'domain.created' => 'Registered:', 'domain.registrar' => 'Registrar:', 'tech' => 'Agent Technical Contacts:');
     $r['regrinfo'] = get_blocks($data['rawdata'], $items);
     switch ($r['regrinfo']['domain']['status']) {
         case 'FREE':
             $r['regrinfo']['registered'] = 'no';
             break;
         case 'APPLICATION PENDING':
             $r['regrinfo']['registered'] = 'pending';
             break;
         default:
             $r['regrinfo']['registered'] = 'yes';
             if (isset($r['regrinfo']['tech'])) {
                 $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech']);
             }
             $r['regrinfo']['domain']['registrar'] = get_contact($r['regrinfo']['domain']['registrar']);
             $r['regrinfo']['domain']['registrar'] = $r['regrinfo']['domain']['registrar']['name'];
             $created = strtotime($r['regrinfo']['domain']['created']);
             $r['regrinfo']['domain']['created'] = date('Y-m-d', $created);
     }
     $r['regyinfo']['referrer'] = 'http://www.eurid.eu';
     $r['regyinfo']['registrar'] = 'EURID';
     $r['rawdata'] = $data['rawdata'];
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:26,代码来源:whois.eu.php


示例8: parse

 function parse($data_str, $query)
 {
     $items = array('domain.name' => 'Domain name:', 'domain.sponsor' => 'Registrar:', 'domain.nserver' => 'Name Servers:', 'domain.changed' => 'Domain record last updated:', 'domain.created' => 'Domain record activated:', 'owner' => 'Registrant:', 'admin' => 'Administrative Contact:', 'tech' => 'Technical Contact:', 'billing' => 'Billing Contact:');
     $b = get_blocks($data_str['rawdata'], $items);
     if (isset($b['owner'])) {
         $b['owner'] = get_contact($b['owner']);
     }
     if (isset($b['admin'])) {
         $b['admin'] = get_contact($b['admin']);
     }
     if (isset($b['tech'])) {
         $b['tech'] = get_contact($b['tech']);
         if ($b['tech']['name'] == 'Same as above') {
             $b['tech'] = $b['admin'];
         }
     }
     if (isset($b['billing'])) {
         $b['billing'] = get_contact($b['billing']);
     }
     format_dates($b, 'dmy');
     $r['regrinfo'] = $b;
     $r['regyinfo']['referrer'] = 'http://whois.educause.net';
     $r['regyinfo']['registrar'] = 'EDUCASE';
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:25,代码来源:whois.edu.php


示例9: parse

 function parse($data_str, $query)
 {
     $items = array('admin' => 'Administrative Contact', 'tech' => 'Technical Contact', 'billing' => 'Billing Contact', 'domain.name' => 'Domain name:', 'domain.nserver.' => 'Domain servers in listed order:', 'dummy' => 'Record update');
     $r = get_blocks($data_str, $items);
     if (isset($r['admin'])) {
         $r['admin'] = get_contact($r['admin']);
     }
     if (isset($r['admin'])) {
         $r['tech'] = get_contact($r['tech']);
     }
     if (isset($r['billing'])) {
         $r['billing'] = get_contact($r['billing']);
     }
     unset($r['dummy']);
     reset($data_str);
     while (list($key, $val) = each($data_str)) {
         if (trim($val) == '') {
             break;
         }
     }
     while (list($key, $val) = each($data_str)) {
         if (trim($val) != '') {
             break;
         }
     }
     $r['owner']['name'] = $val;
     while (list($key, $val) = each($data_str)) {
         if (trim($val) == '') {
             break;
         }
         $r['owner']['address'][] = $val;
     }
     format_dates($r, 'ymd');
     return $r;
 }
开发者ID:carriercomm,项目名称:NeoBill,代码行数:35,代码来源:whois.gtld.bulkr.php


示例10: parse

 function parse($data, $query)
 {
     $items = ['domain.name' => 'Domain:', 'domain.status' => 'Status:', 'domain.nserver' => 'Name servers:', 'domain.created' => 'Registered:', 'domain.registrar' => 'Registrar:', 'tech' => 'Registrar Technical Contacts:', 'owner' => 'Registrant:', '' => 'Please visit'];
     $extra = ['organisation:' => 'organization', 'website:' => 'url'];
     $r['regrinfo'] = \phpwhois\get_blocks($data['rawdata'], $items);
     if (!empty($r['regrinfo']['domain']['status'])) {
         switch ($r['regrinfo']['domain']['status']) {
             case 'FREE':
             case 'AVAILABLE':
                 $r['regrinfo']['registered'] = 'no';
                 break;
             case 'APPLICATION PENDING':
                 $r['regrinfo']['registered'] = 'pending';
                 break;
             default:
                 $r['regrinfo']['registered'] = 'unknown';
         }
     } else {
         $r['regrinfo']['registered'] = 'yes';
     }
     if (isset($r['regrinfo']['tech'])) {
         $r['regrinfo']['tech'] = get_contact($r['regrinfo']['tech'], $extra);
     }
     if (isset($r['regrinfo']['domain']['registrar'])) {
         $r['regrinfo']['domain']['registrar'] = get_contact($r['regrinfo']['domain']['registrar'], $extra);
     }
     $r['regyinfo']['referrer'] = 'http://www.eurid.eu';
     $r['regyinfo']['registrar'] = 'EURID';
     return $r;
 }
开发者ID:nicholasryan,项目名称:CorePlus,代码行数:30,代码来源:whois.eu.php


示例11: parse

 function parse($data_str, $query)
 {
     $items = array('domain.created' => 'Fecha Creación:', 'domain.expires' => 'Fecha Expiración:', 'owner.name' => 'Registrante:', 'admin' => 'Contacto Administrativo:', 'tech.handle' => 'Contacto Técnico:', 'billing.handle' => 'Contacto Facturación:', 'domain.nserver' => 'Servidores DNS:');
     array_shift($data_str['rawdata']);
     array_shift($data_str['rawdata']);
     $r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
     if (!isset($r['regrinfo']['domain']['created']) || is_array($r['regrinfo']['domain']['created'])) {
         $r['regrinfo'] = array('registered' => 'no');
         $r['rawdata'] = $data_str['rawdata'];
         $r['rawdata'][] = 'Domain not found';
         return $r;
     }
     if (isset($r['regrinfo']['admin'])) {
         $handle = $r['regrinfo']['admin'];
         $items['admin'] .= ' ' . $r['regrinfo']['admin'];
     }
     $r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
     $r['rawdata'] = $data_str['rawdata'];
     $r['regrinfo']['admin'] = get_contact($r['regrinfo']['admin']);
     $r['regrinfo']['admin']['handle'] = $handle;
     $r['regrinfo']['registered'] = 'yes';
     $r['regyinfo'] = array('referrer' => 'http://www.nic.es', 'registrar' => 'ES-NIC');
     format_dates($r, 'ymd');
     return $r;
 }
开发者ID:469306621,项目名称:Languages,代码行数:25,代码来源:whois.es.php


示例12: parse

 function parse($data_str, $query)
 {
     $items = array('owner' => 'Registrant:', 'admin' => 'Administrator:', 'tech' => 'Technical Contactor:', 'bill' => 'Billing Contactor:', 'domain.name' => 'Domain name:', 'domain.name#' => 'Domain Name:', 'domain.nserver' => 'Domain servers in listed order:', 'domain.created' => 'Record created on ', 'domain.expires' => 'Record expired on ', 'domain.changed' => 'Record last updated at ');
     $extra = array('tel--' => 'phone', 'tel:' => 'phone', 'tel --:' => 'phone', 'email-:' => 'email', 'email:' => 'email', 'mail:' => 'email', 'name--' => 'name', 'org:' => 'organization', 'zipcode:' => 'address.pcode', 'postcode:' => 'address.pcode', 'address:' => 'address.street', 'city:' => 'address.city', 'province:' => '', ',province:' => '', ',country:' => 'address.country');
     $r = get_blocks($data_str, $items, true);
     if (isset($r['owner'])) {
         $r['owner'] = get_contact($r['owner'], $extra);
     }
     if (isset($r['admin'])) {
         $r['admin'] = get_contact($r['admin'], $extra);
     }
     if (isset($r['tech'])) {
         $r['tech'] = get_contact($r['tech'], $extra);
     }
     if (isset($r['bill'])) {
         $r['bill'] = get_contact($r['bill'], $extra);
     }
     foreach ($r as $key => $part) {
         if (isset($part['email'])) {
             @(list($email, $phone) = explode(' ', $part['email']));
             $email = str_replace('(', '', $email);
             $email = str_replace(')', '', $email);
             $r[$key]['email'] = $email;
             if ($phone != '') {
                 $r[$key]['phone'] = $phone;
             }
         }
     }
     format_dates($r['domain'], 'mdy');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:31,代码来源:whois.gtld.onlinenic.php


示例13: parse

 function parse($data_str, $query)
 {
     $items = array('owner' => 'Registrant:', 'admin' => 'Administrative Contact', 'tech' => 'Technical Contact', 'domain.name' => 'Domain Name:', 'domain.nserver.' => 'Domain servers in listed order:', 'domain.created' => 'Created on:', 'domain.expires' => 'Expires on:', 'domain.changed' => 'Last Updated on:', 'domain.sponsor' => 'Registered through:');
     $r = get_blocks($data_str, $items);
     $r['owner'] = get_contact($r['owner']);
     $r['admin'] = get_contact($r['admin'], false, true);
     $r['tech'] = get_contact($r['tech'], false, true);
     return format_dates($r, 'dmy');
 }
开发者ID:pankajsinghjarial,项目名称:SYLC-AMERICAN,代码行数:9,代码来源:whois.gtld.godaddy.php


示例14: get_contact

 function get_contact($data)
 {
     $r = get_contact($data);
     if (isset($r['name']) && preg_match('/^[A-Z0-9]+-[A-Z0-9]+$/', $r['name'])) {
         $r['handle'] = $r['name'];
         $r['name'] = array_shift($r['address']);
     }
     return $r;
 }
开发者ID:SCS-CBU-CED-IAM,项目名称:cab-csr-validator,代码行数:9,代码来源:whois.nl.php


示例15: parse

 function parse($data_str, $query)
 {
     $items = array('owner' => 'Registrant Name:', 'admin' => 'Admin Name:', 'tech' => 'Tech Name:', 'domain.name' => 'Domain Name:', 'domain.nserver.' => 'Name Server:', 'domain.created' => 'Creation Date:', 'domain.expires' => 'Registrar Registration Expiration Date:', 'domain.changed' => 'Update Date:', 'domain.sponsor' => 'Registrar:');
     $r = get_blocks($data_str, $items);
     $r['owner'] = get_contact($r['owner']);
     $r['admin'] = get_contact($r['admin'], array(), true);
     $r['tech'] = get_contact($r['tech'], array(), true);
     return format_dates($r, 'dmy');
 }
开发者ID:abreksa4,项目名称:phpWhois,代码行数:9,代码来源:whois.gtld.godaddy.php


示例16: parse

 function parse($data_str, $query)
 {
     $items = array("owner" => "Registrant:", "admin" => "Administrative Contact", "tech" => "Technical Contact", "domain.name" => "Domain name:", "domain.sponsor" => "Registration Service Provider:", "domain.nserver" => "Domain servers in listed order:", "domain.changed" => "Record last updated ", "domain.created" => "Record created on", "domain.expires" => "Record expires on");
     $r = get_blocks($data_str, $items);
     $r["owner"] = get_contact($r["owner"]);
     $r["admin"] = get_contact($r["admin"]);
     $r["tech"] = get_contact($r["tech"]);
     format_dates($r, 'mdy');
     return $r;
 }
开发者ID:carriercomm,项目名称:NeoBill,代码行数:10,代码来源:whois.gtld.directnic.php


示例17: parse

 function parse($data_str, $query)
 {
     $items = array("owner" => "Registrant:", "admin" => "Administrative contact:", "tech" => "Technical contact:", "domain.name" => "Domain name:", "domain.nserver." => "Domain servers in listed order:", "domain.created" => "Created:", "domain.expires" => "Expires:", "domain.changed" => "Last updated:");
     $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 = format_dates($r, 'dmy');
     return $r;
 }
开发者ID:carriercomm,项目名称:NeoBill,代码行数:10,代码来源:whois.gtld.nicline.php


示例18: parse

 function parse($data_str, $query)
 {
     $items = array("owner" => "Owner Contact:", "admin" => "Admin Contact", "tech" => "Technical Contact, Zone Contact", "domain.name" => "Domain Name:", "domain.nserver." => "Domain servers in listed order:", "domain.expires" => "Record expires on: ", "domain.changed" => "Record last updated on: ", '' => 'RACE Name:');
     $r = get_blocks($data_str, $items);
     $r["owner"] = get_contact($r["owner"]);
     $r["admin"] = get_contact($r["admin"]);
     $r["tech"] = get_contact($r["tech"]);
     format_dates($r, 'ymd');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:10,代码来源:whois.gtld.cronon.php


示例19: parse

 function parse($data_str, $query)
 {
     $items = array('owner' => 'Registrant:', 'admin' => 'Administrative', 'tech' => 'Technical', 'domain.name' => 'Domain name:', 'domain.sponsor' => 'Registrar:', 'domain.nserver.' => 'Domain servers in listed order:');
     $r = get_blocks($data_str, $items);
     $r['owner'] = get_contact($r['owner']);
     $r['admin'] = get_contact($r['admin']);
     $r['tech'] = get_contact($r['tech']);
     format_dates($r, 'ymd');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:10,代码来源:whois.gtld.alldomains.php


示例20: parse

 function parse($data_str, $query)
 {
     $items = array('owner' => 'Registrant:', 'owner#' => '(Registrant):', 'admin' => 'Administrative Contact', 'tech' => 'Technical Contact', 'domain.name' => 'Domain name:', 'domain.sponsor' => 'Registration Service Provided By:', 'domain.nserver' => 'Domain servers in listed order:', 'domain.changed' => 'Record last updated ', 'domain.created' => 'Record created on', 'domain.created#' => 'Creation Date:', 'domain.expires' => 'Record expires on', 'domain.expires#' => 'Expiration Date:');
     $r = get_blocks($data_str, $items, true);
     $r['owner'] = get_contact($r['owner'], false, true);
     $r['admin'] = get_contact($r['admin'], false, true);
     $r['tech'] = get_contact($r['tech'], false, true);
     format_dates($r, 'mdy');
     return $r;
 }
开发者ID:BGCX067,项目名称:faireconnaitre-svn-to-git,代码行数:10,代码来源:whois.gtld.publicdomainregistry.php



注:本文中的get_contact函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_contacts函数代码示例发布时间:2022-05-15
下一篇:
PHP get_constellation函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap