<?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/>";
}
}
}
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.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.
<?php
$alphabet = "abcdefghijklmnopqrstuvwxyz";
$letters = str_split($alphabet,1);
$vowels = str_split("aeiou", 1);
$consonants = str_split("bcdfghjklmnpqrstvwxyz", 1);
$numbers = str_split("0123456789", 1);
...
..
foreach ($numbers as $l1) {
foreach($letters as $l2) {
foreach($letters as $l3) {
echo "$l1$l2$l3.com<br/>";
}
}
}
..
foreach ($consonants as $l1) {
foreach($vowels as $l2) {
foreach($consonants as $l3) {
foreach($vowels as $l4) {
echo "$l1$l2$l3$l4.com<br/>";
}
}
}
}
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.Now it is no more "short".
Well OP got his answer so who caresAnyway we are way offtopic now.
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.It still is but I think you don't understand.
domainah said:more people trying to scam LLL.com owners out of good domains for little money,
I need the list of all combinations of lll.com's
from aaa to zzz
anyone know?
plz n ty
and the lucky buyer comes to forums ask appraisal
*the exceptional businesses of our esteemed moderators