<?php
$names = file(‘sites.txt’);
foreach ($names as $name) {
$ip = gethostbyname($name);
echo ‘<li>’ . $ip . ‘</li>’;
}?>
<?php
$names = file(‘sites.txt’);
foreach ($names as $name) {
$ip = gethostbyname($name);
echo ‘<li>’ . $ip . ‘</li>’;
}?>