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 Web Application Hacker's Handbook

The Web Application Hacker's Handbook

Dafydd Stuttard、Marcus Pinto / Wiley / 2011-9-27 / USD 50.00

The highly successful security book returns with a new edition, completely updated Web applications are the front door to most organizations, exposing them to attacks that may disclose personal infor......一起来看看 《The Web Application Hacker's Handbook》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具