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

The Mechanics of Web Handling

The Mechanics of Web Handling

David R. Roisum

This unique book covers many aspects of web handling for manufacturing, converting, and printing. The book is applicable to any web including paper, film, foil, nonwovens, and textiles. The Mech......一起来看看 《The Mechanics of Web Handling》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器