enlaces.txt
terra:www.terra.es
google:www.google.es
ya:www.ya.com
yahoo:www.yahoo.es
bien y tengo un php con esto:
Código PHP:
<?
$lineas=file("links.txt");
foreach ($lineas as $linea) {
$partes=explode(":",$linea);
echo "<a href=".$partes[1].">".$partes[1]."</a><br>";
}
?>
Código PHP:
<a href=www.terra.es
>[url]www.terra.es[/url]
</a><br><a href=www.google.es
>[url]www.google.es[/url]
</a><br><a href=www.ya.com
>[url]www.ya.com[/url]
</a><br><a href=www.maskeamigos.com/swish-fusion
>[url]www.maskeamigos.com/swish-fusion[/url]
</a><br><a href=www.yahoo.es>[url]www.yahoo.es[/url]</a><br>
Un Saludo