Which are the BEST expiring domains PHP (web based) scripts?

  • Dear DNForum.com user,

    The General Data Protection Regulation (GDPR) (EU) 2016/679 is a regulation in EU law on data protection and privacy for all individuals within the European Union. As we are based in Gibraltar which is part of the EU and we have customers all over the world we are obligated to follow the new regulation as of May 25, 2018.

    Accordingly, although we must request full contact information from each of you so our systems and webpage may continue to function we will restrict processing and data transfers as much as possible. When logged into DNForum.com we will display only your chosen handle and no other specific information unless requested by you. In order to request your specific information be revealed please go into your account settings and check the radio boxes next to the information. By default all information is private.

    To cover all aspects of GDPR we have published a new / updated agreement (which includes our terms and privacy policy) that will become effective on May 25, 2018. It may be found at: https://www.dnforum.com/help/terms/

    Onward and upwards;

    Best DNForum.com
Status
Not open for further replies.

PurpleCow

Platinum Member
Registered User
Rating - 100%
3   0   0
Jun 8, 2005
178
0
San Francisco
#1
Hi - I am looking for expiring domains web based PHP+MySQL script if there any.
It should be easy to customise the complete look and feel of the site not just customising CSS - essentially should have template files for customisation.

I know there is one mentioned on dnforum here - but are there more scripts like these?

Please post the links below. I am not looking for desktop based apps but what I want is web based PHP+MySql scripts with useful features.

Thanks
 

PurpleCow

Platinum Member
Registered User
Rating - 100%
3   0   0
Jun 8, 2005
178
0
San Francisco
#3
Thanks. But is there any free/paid script which can do atleast exactly same as expireddomains.net ?
I want to install, customise and run it on my own server.
Thanks
 

Entropy

Exclusive Member
Registered User
Rating - 100%
1   0   0
Jan 1, 2012
42
7
Australia
#4
Hi PurpleCow,

Here's one I wrote a few years ago. Just copy the code below and paste it into a text editor and save it as "whatever.php". Then all you need do is embed it into a webpage running on a server which has PHP enabled. Simple.

Enjoy,
Entropy

<form action=<?php echo $_SERVER['PHP_SELF']; ?> method=post>
<table>
<tr>
<td class=bordered2 width=150>Type:</td>
<td class=bordered2 width=150>Limit</td>
<td class=bordered2 width=150>Extension</td>
</tr>
<tr>
<td class=bordered2>
<SELECT NAME="type" class=bordered2>
<OPTION VALUE="LLL">LLL
<OPTION VALUE="LLLL">LLLL
<OPTION VALUE="LLLLL">LLLLL
<OPTION VALUE="LLLLLL">LLLLLL
<OPTION VALUE="NNN">NNN
<OPTION VALUE="NNNN">NNNN
<OPTION VALUE="NNNNN">NNNNN
<OPTION VALUE="NNNNNN">NNNNNN
<OPTION VALUE="L-L">L-L
<OPTION VALUE="N-N">N-N
<OPTION VALUE="LNL">LNL
<OPTION VALUE="NLN">NLN
<OPTION VALUE="LLN">LLN
<OPTION VALUE="LNN">LNN
<OPTION VALUE="NLL">NLL
<OPTION VALUE="NNL">NNL
</SELECT></td>
<td class=bordered2><input type=text name=x class=camo size=6 value=25></td>
<td class=bordered2>
<SELECT NAME="ext" class=bordered2>
<OPTION VALUE="COM">.COM
<OPTION VALUE="US">.US
<OPTION VALUE="NET">.NET
<OPTION VALUE="ORG">.ORG
<OPTION VALUE="BIZ">.BIZ
<OPTION VALUE="INFO">.INFO
<OPTION VALUE="EU">.EU
</SELECT></td>
</tr>
<tr>
<td class=bordered2 colspan=3><input type=submit value=Scan name=submit class=cloakedbutton></td>
</tr>
</table>
</form>

<?php

if(isset($_POST['submit'], $_POST['type']))
{
function checkdomain($xserver, $xdomain)
{
$sock = @fsockopen($xserver,43) or die("Error connecting to whois server.");
fputs($sock,"$xdomain\r\n");

$result = '';

while(!feof($sock))
{
$result .= fgets($sock,128);
}
fclose($sock);

if(eregi("No match", $result) || eregi("NOT FOUND", $result))
{
return true;
}
else
{
return false;
}
}
// Function
$chars = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9");

$type = trim(strip_tags($_POST['type']));
$ext = trim(strip_tags($_POST['ext']));
$x = intval(trim(strip_tags($_POST['x'])));

echo "
<table>
<tr>
<td class=bordered2 width=462>Scanning: $type .$ext - Limit $x</td>
</tr>
</table>
<font size=1><br />\n";

$i = 1;

while($x >= $i)
{
///////////////////////////////////////////////////////////////////////////////
// Here is where we generate a random string of 3 in the format XXX
// This can be changed easily to the format LLN with this code instead:
///// $current = $chars[rand(0,25)].$chars[rand(0,25)].rand(0,35);
// Or to L-N with this code:
///// $current = $chars[rand(0,25)]."-".rand(0,9);
// Mix and match until you get what you're after.

switch($type)
{
case 'NLN':
$current = $chars[rand(26,35)].$chars[rand(0,25)].$chars[rand(26,35)];
break;
case 'LLN':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(26,35)];
break;
case 'LNN':
$current = $chars[rand(0,25)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NLL':
$current = $chars[rand(26,35)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'NNL':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(0,25)];
break;
case 'L-L':
$current = $chars[rand(0,25)]."-".$chars[rand(0,25)];
break;
case 'N-N':
$current = $chars[rand(26,35)]."-".$chars[rand(26,35)];
break;
case 'NNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'LNL':
$current = $chars[rand(0,25)].$chars[rand(26,35)].$chars[rand(0,25)];
break;
case 'LLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLLLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
default:
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
}

///////////////////////////////////////////////////////////////////////////////
// Here is where we start checking domains
// Feel free to add/remove domains or change whois servers

switch($ext)
{
case 'COM':
case 'NET':
$registry = "whois.nsiregistry.net";
break;
case 'ORG':
$registry = "whois.pir.org";
break;
case 'INFO':
$registry = "whois.afilias.net";
break;
case 'BIZ':
$registry = "whois.biz";
break;
case 'US':
$registry = "whois.nic.us";
break;
case 'EU':
$registry = "whois.eu";
break;
default:
$registry = "whois.nsiregistry.net";
}

if(checkdomain($registry, $current.'.'.$ext))
{
echo "
<table>
<tr>
<td class=bordered2 width=40>$i. </td>
<td class=bordered2 width=416>";
echo strtoupper($current).".$ext </td>
</tr>
</table>";
$i++;
}
ob_flush();
flush();
}
echo "</font>";
}

?>


 
Status
Not open for further replies.