[ad_1]
$fp=file("filename");
foreach($fp as $line)
{
echo '<a href="http://example.com/'.$line.'/something/">'.$line.'</a>';
echo "<br>";
}
0
[ad_2]
solved How to convert TXT file contents to URL’s using PHP? [closed]