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