Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.
  • Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

[PHP] Three Character Domain List

  • Thread starter Thread starter Aaron Clifford
  • Start date Start date
Status
Not open for further replies.
A

Aaron Clifford

PHP:
<?php

// Set Extention
$ext = ".co.uk";

$arr = Array();

array_push($arr, "a");
array_push($arr, "b");
array_push($arr, "c");
array_push($arr, "d");
array_push($arr, "e");
array_push($arr, "f");
array_push($arr, "g");
array_push($arr, "h");
array_push($arr, "i");
array_push($arr, "j");
array_push($arr, "k");
array_push($arr, "l");
array_push($arr, "m");
array_push($arr, "n");
array_push($arr, "o");
array_push($arr, "p");
array_push($arr, "q");
array_push($arr, "r");
array_push($arr, "s");
array_push($arr, "t");
array_push($arr, "u");
array_push($arr, "v");
array_push($arr, "w");
array_push($arr, "x");
array_push($arr, "y");
array_push($arr, "z");
array_push($arr, "0");
array_push($arr, "1");
array_push($arr, "2");
array_push($arr, "3");
array_push($arr, "4");
array_push($arr, "5");
array_push($arr, "6");
array_push($arr, "7");
array_push($arr, "8");
array_push($arr, "9");

$results = Array();
foreach ( $arr as $three ) {
foreach ( $arr as $two ) {
foreach ( $arr as $one ) {
array_push($results, $three.$two.$one);
}
}
}

foreach( $results as $result ) {
echo " $result$ext<br>";
}

?>

Incase anyone needs it, remove the number rows to turn it into LLL
 
Last edited by a moderator:
Also if anyone is interested I made this about 2 years ago - dnsg.co.uk. It creates domain sequences e.g. if you write aaa and zzz and .co.uk it will give you all LLL.co.uk's or aaaa and zzzz for LLLL.co.uk's etc. I haven't looked at it for ages, but it still works.

You can also paste in a load of text and it should turn them into domains, although I don't think I ever finished it 100% - may be worth looking at again in the summer.
 
Status
Not open for further replies.
Top Bottom