if(file_get_contents(trim($host)))
<?php $file = file( "file.txt" ); foreach($file as $host) { file_get_contents(trim($host)); echo $host."<br>"; } ?>