PHP ActiveX
PHP ActiveX
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat PHP ActiveX Downloads
<?php
$success = 0;
$http = new COM("Chilkat.Http");
$url = 'https://example.com/folder/page?lang=en&sort=asc#section2';
print $http->getUrlPath($url) . "\n";
// Output:
// /folder/page
?>