Sample code for 30+ languages & platforms
PHP

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat PHP Downloads

Chilkat2 PHP
<?php

use Chilkat2\Http;

$http = new Http();

$domain = $http->GetDomain('https://chilkatsoft.com/refdoc/csharp.asp');
echo $domain, "\n";

// Output: chilkatsoft.com