Membership is FREE, giving all registered users unlimited access to every Acorn Domains 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!

[PHP] Three Character Domain List

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.

The Rule #1

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

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom