Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo.com

Wanted: Service Need program to output length of domain name DNF$500

Status
Not open for further replies.

dotNetKing

DNF Addict
Legacy Exclusive Member
Joined
Nov 29, 2002
Messages
1,550
Reaction score
0
Hello,

I need a program (or website) where I can input a list of domains with TLD, one per line and it will out put the same list with the number of characters in the domain WITHOUT the extension.

The program should ideally be able to accept at least 10,000 domains, although a lower number would also be acceptable if not too low (but not under 1000)

Input format:

1234.com
1234.info
1234.net
thryidodlkg.com
grtilo.org
:
:

Output format:

1234.com 4
1234.info 4
1234.net 4
thryidodlkg.com 11
grtilo.org 6
:
:

Offering DNF$500 to the first person to provide a working solution.

Thanks.
 

b.a

Level 4
Legacy Platinum Member
Joined
Mar 22, 2006
Messages
143
Reaction score
0
Save below code as " dnlenght.php " and place it where you can run PHP scripts.
PHP:
<html>
	<head>
	<title>DN Lenght</title>
	</head>
	<body>
		<div style="text-align:center; padding: 20px;">
		<p>Enter domain list</p>
		<form method="POST" action="dnlenght.php">
		<textarea name="dnlist" rows="10" cols="60"><?php if(isset($_POST['dnlist'])) echo $_POST['dnlist']; ?></textarea><br />
		<input type="submit" value="Submit">
		</form>
		<br>
			<?php
				if(isset($_POST['dnlist'])) {
					echo "<b>Result</b><br>";
					echo "<textarea rows=\"10\" cols=\"60\">";
					$dnList = explode("\n", $_POST['dnlist']);
					while (list($key, $val) = each($dnList)) {
						if(!empty($val)) {
							$domain = trim($val);
							$domainLenght = explode('.',$domain);
							$domainLenght = strlen($domainLenght['0']);
							echo $domain  .  " ". $domainLenght . "\n";
						}
							
					}
					echo "</textarea>";
				}
			?>
		</div>
	</body>
</html>
 

dotNetKing

DNF Addict
Legacy Exclusive Member
Joined
Nov 29, 2002
Messages
1,550
Reaction score
0
Excellent job!

Thanks.

DNF$ sent plus 50% bonus.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

New Threads

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom