PHP code example of pointybeard / uriinfo
1. Go to this page and download the library: Download pointybeard/uriinfo library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pointybeard / uriinfo example snippets
pointybeard\URIInfo\Lib;
$info = (new Lib\URIInfo("https://example.com"))->run();
## Check the HTTP Status code
var_dump($info->http_code);