Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 4 of 4
  1. #1
    DNF Addict

    Join Date
    Nov 2002
    Posts
    1,560
    DNF$
    2,711
    Bank
    0
    Total DNF$
    2,711
    Donate  

    Need program to output length of domain name DNF$500

    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.

  2. #2
    Platinum Lifetime Member
    b.a's Avatar
    Join Date
    Mar 2006
    Location
    Europe
    Posts
    151
    DNF$
    11,170
    Bank
    0
    Total DNF$
    11,170
    Donate  

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

    Save below code as " dnlenght.php " and place it where you can run PHP scripts.
    PHP Code:
    <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>
    Last edited by b.a; 05-19-2007 at 03:23 PM.

  3. #3
    DNF Addict

    Join Date
    Nov 2002
    Posts
    1,560
    DNF$
    2,711
    Bank
    0
    Total DNF$
    2,711
    Donate  

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

    Excellent job!

    Thanks.

    DNF$ sent plus 50% bonus.

  4. #4
    Platinum Lifetime Member
    b.a's Avatar
    Join Date
    Mar 2006
    Location
    Europe
    Posts
    151
    DNF$
    11,170
    Bank
    0
    Total DNF$
    11,170
    Donate  

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

    Quote Originally Posted by dotNetKing View Post
    Excellent job!

    Thanks.

    DNF$ sent plus 50% bonus.
    Thanks

Similar Threads

  1. Replies: 42
    Last Post: 03-19-2007, 12:27 AM
  2. Big names may not prevail in domain name disputes.
    By Rockefeller in forum Gold Cafe
    Replies: 6
    Last Post: 03-01-2007, 05:46 PM
  3. SEDO NewsLetter - Take a Stand in 2007
    By BELLC1 in forum Sedo.com
    Replies: 28
    Last Post: 02-17-2007, 12:24 PM
  4. AD: Domain Research Tool 50% off link! Only $129 for 3 more days ONLY!
    By Andrew Shaw in forum Advertising and Related Offers
    Replies: 6
    Last Post: 08-11-2006, 03:38 PM
  5. Domain Research Tool - The MOST POWERFUL domain tool in the world! $129 ~ Buy it here
    By Andrew Shaw in forum Advertising and Related Offers
    Replies: 3
    Last Post: 05-23-2006, 04:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com