PHP 根据 url 获取顶级域名 phpgetdomain

码农软件 · 软件分类 · 网络工具包 · 2019-02-25 06:29:27

软件介绍

phpgetdomain

PHP根据url获取顶级域名

加载

composer require 'agile/domain:~1.0'

或者在composer.json文件中添加
"require": {
    "agile/domain": "~1.0"
}

使用

use Agile\Lib\Domain\Domain;
public function index(Domain $domain)
{
    $host = $domain->getDomain('http://www.huanguosoft.com');
    var_dump($host);
}

本文地址:https://codercto.com/soft/d/74.html

Algorithms on Strings, Trees and Sequences

Algorithms on Strings, Trees and Sequences

Dan Gusfield / Cambridge University Press / 1997-5-28 / USD 99.99

String algorithms are a traditional area of study in computer science. In recent years their importance has grown dramatically with the huge increase of electronically stored text and of molecular seq......一起来看看 《Algorithms on Strings, Trees and Sequences》 这本书的介绍吧!

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具