Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 1, 2026.

Easy Links

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by 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.
GoDaddyGoDaddy
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
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back