Membership is FREE, giving all registered users unlimited access to every DNForum feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

How can I get the list of all LLL.com combinations

Status
Not open for further replies.

DN BROKER

Level 10
Legacy Exclusive Member
Joined
Oct 12, 2005
Messages
5,697
Reaction score
235
1+1=2
 
Last edited:

DN BROKER

Level 10
Legacy Exclusive Member
Joined
Oct 12, 2005
Messages
5,697
Reaction score
235
1+1=2
 
Last edited:

mvl

Level 8
Legacy Exclusive Member
Joined
Sep 24, 2006
Messages
1,328
Reaction score
34
Shorter and easier to type php script:

Code:
<?php
$alphabet = "abcdefghijklmnopqrstuvwxyz";
$letters  = str_split($alphabet,1);
foreach ($letters as $l1) {
    foreach($letters as $l2) {
        foreach($letters as $l3) {
            // replace <br/> by \n if executed from the command line
            echo "$l1$l2$l3.com<br/>"; 
        }
    }
}
 

denny007

Level 9
Legacy Exclusive Member
Joined
Oct 5, 2004
Messages
3,298
Reaction score
24
Shorter and easier to type php script:
Shorter but single-purposed. Wtih the "more complicated" script you can, with slight modification, do LNL, LNN, NNL, LLN, NNN, NNL, LL, LN NL, NN etc as well as CVCV, VCVC, CVVC, VCCV etc. combos.
 

mvl

Level 8
Legacy Exclusive Member
Joined
Sep 24, 2006
Messages
1,328
Reaction score
34
Shorter but single-purposed. Wtih the "more complicated" script you can, with slight modification, do LNL, LNN, NNL, LLN, NNN, NNL, LL, LN NL, NN etc as well as CVCV, VCVC, CVVC, VCCV etc. combos.

Just add some other arrays and modify each foreach{} loop to use whatever you want in that position. Nest another foreach for four characters or leave one out for two. Just as versatile.

Let me show you what I mean:

Code:
<?php
$alphabet = "abcdefghijklmnopqrstuvwxyz";
$letters    = str_split($alphabet,1);
$vowels = str_split("aeiou", 1);
$consonants = str_split("bcdfghjklmnpqrstvwxyz", 1);
$numbers = str_split("0123456789", 1);
...
now we have arrays representing letters, consonants, vowels, numbers. Add whatever you want

Let's use this to find all NLL.COM :

Code:
..
foreach ($numbers as $l1) {
    foreach($letters as $l2) {
        foreach($letters as $l3) {
            echo "$l1$l2$l3.com<br/>"; 
        }
    }
}

Or use this code instead to find all CVCV.COM:

Code:
..
foreach ($consonants as $l1) {
    foreach($vowels as $l2) {
        foreach($consonants as $l3) {
            foreach($vowels as $l4) {
                echo "$l1$l2$l3$l4.com<br/>"; 
            }
        }
    }
}

As flexible and versatile as it gets. Just add a string containing the characters you need (vowels, consonants, numbers, odd numbers, even numbers, etc.), and use it.

You never get this flexibility if you stuff all characters in one big array.
 

denny007

Level 9
Legacy Exclusive Member
Joined
Oct 5, 2004
Messages
3,298
Reaction score
24
Now it is no more "short".
 

mvl

Level 8
Legacy Exclusive Member
Joined
Sep 24, 2006
Messages
1,328
Reaction score
34
Now it is no more "short".
It still is but I think you don't understand. Anyway we are way offtopic now. I'd love to discuss this with you but let's do it in the coding/programming forum instead. If you want to just open a topic on this, notify me by u2u and I will respond.
 

Keynes

Level 7
Legacy Platinum Member
Joined
May 2, 2005
Messages
885
Reaction score
0
Please don't send out mass LLLL.com spam; we have enough as it is. Good luck in your search.
 

denny007

Level 9
Legacy Exclusive Member
Joined
Oct 5, 2004
Messages
3,298
Reaction score
24
Anyway we are way offtopic now.
Well OP got his answer so who cares :)

It still is but I think you don't understand.
Well I do understand, I am no big coder, my first language was BASIC so I still like clear definition and clear loops. You like it different. We can both achieve same. The only different whos script would be taking more resources, which in this case is not improtant anyway.
 

Theo

Account Terminated
Joined
Feb 28, 2004
Messages
30,306
Reaction score
2,216
Greg won't be pleased but oh well :D
 

nametrader

Now showing : .info
Legacy Exclusive Member
Joined
Jul 20, 2004
Messages
440
Reaction score
0
Wooh :) whatever we got some cool code thanks Theo, Denny and Leo .....
 

domainah

DNF Addict
Legacy Exclusive Member
Joined
Aug 22, 2005
Messages
2,607
Reaction score
1
please dont spam more people trying to scam LLL.com owners out of good domains for little money, its F&%$ annoying..there are already a bunch here on the forum that emailed every LLL.com owner at least 5 times..
 

BobDiGiTaL

Domain Lover
Legacy Exclusive Member
Joined
Aug 13, 2005
Messages
1,556
Reaction score
19
domainah said:
more people trying to scam LLL.com owners out of good domains for little money,

How can offering someone money for their domain be a scam?
 

gawnd

DNF Member
Legacy Exclusive Member
Joined
Jul 5, 2007
Messages
454
Reaction score
0
thanks for the script - i'm a php newb and this really helped clarify some things for me.
 

Seraphim

Level 9
Legacy Platinum Member
Joined
Jan 11, 2006
Messages
2,615
Reaction score
54
I need the list of all combinations of lll.com's

from aaa to zzz

anyone know?

plz n ty

Last time I requested this, Fearless called me a spammer. :lol: I see domainah jumped right up to the task this round.
 

nametrader

Now showing : .info
Legacy Exclusive Member
Joined
Jul 20, 2004
Messages
440
Reaction score
0
It is just the goodwill of people who shared their code we should thank them. Different people will use this newborn skill in different ways, I don't think LLL.com owners are that dumb anyways :)

It is not a scam to contact someone inquiring about a name, at the same time if you send an email to a LLL.com owner who happens to be a domainer it suck :) he/she feels that sender is a scammer trying to flick my valuable name for peanuts! its quite natural. If the receiver of the offer is a novice there is a chance that he sells it for under $1000 and the lucky buyer comes to forums ask appraisal :D

All in all it is happening and it continues happen in the future... It is just that seller beware know the value of your stuff. Buyer is not on the wrong side at all!
 

Seraphim

Level 9
Legacy Platinum Member
Joined
Jan 11, 2006
Messages
2,615
Reaction score
54
and the lucky buyer comes to forums ask appraisal

Do Not Presume you know who that was. :D We all know it was Colonel Mustard in the study with the candle stick.

** I got to quit coming to this forum drunk ** :lol:
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 3) View details

The Rule #1

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

Members Online

Premium Members

Upcoming events

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom