Dynadot — .com Registration $8.99

Easy Links

Spaceship Spaceship
Watch

bobby9101

VIP Member
Impact
33
I have a list of links that are just http://.........com's
is there an easy way of changing those into html links with thdomain as the anchor text.
other wise i would have to manually make 500 links into html links
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Ask someone to make you a PHP script where you input your list, ex:

name1.com
name2.com
name3.com
name4.com

That will take each line, and create: <a href="http://www.$name">$name</a>

;)
 
0
•••
Bingo!

If you have a host supports php, upload your text list as list.txt for example and make a new php file which contains:

<?php
$read_list = file('list.txt');
foreach ($read_list as $read_n => $read_line) {
echo "<a href=" . rtrim($read_line) . ">" . rtrim($read_line) . "</a>";
echo "<br />\n";
}
?>

and execute this whatever called .php file.
 
0
•••
ok i will try it thanx
 
0
•••
If you have difficulty doing it, send me the list and I'll do it for you.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back