How many Indian government websites are using HTTPS?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
135 B

<?php
foreach(file('combined.2.txt') as $row)
{
$row = trim($row);
$url = "http://$row/";
echo parse_url($url)['host'] . PHP_EOL;
}