Sample code for 30+ languages & platforms
PHP ActiveX

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat PHP ActiveX Downloads

PHP ActiveX
<?php

$http = new COM("Chilkat.Http");

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

// Output: chilkatsoft.com

?>