<title>KeyGen for AbleSpace, AbleDating!</title>
Ftp it in your root dir ->
run key.php ->
Enter domainname (without the www or http only the name) ->
Copy and paste the code in the license file (he License File is in the \_include\config ).
<form method="POST">
<p>yoursite.com <input type="text" name="T1" size="20"><input type="submit" value="Generate license" name="B1"></p>
</form>
<?PHP
function lic ($domain)
{
$dl = $domain;
$abc = '. 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 _ - 1 2 3 4 5 6 7 8 9 0 $ @ = + = ? ! ';
$abc_array = explode (' ', $abc);
foreach ($abc_array as $k => $v)
{
if ($k < (count ($abc_array) - 1) / 2)
{
$dl = str_replace ($v, $abc_array[count ($abc_array) - $k - 1], $dl);
continue;
}
}
sort ($abc_array);
$dl4 = md5 ($dl);
$dl3 = sha1 ($dl);
foreach ($abc_array as $k => $v)
{
if ($k < (count ($abc_array) - 1) / 2)
{
$dl = str_replace ($v, $abc_array[count ($abc_array) - $k - 1], $dl);
continue;
}
}
$dl2 = md5 ($dl) . sha1 ($dl);
foreach ($abc_array as $k => $v)
{
$dl = str_replace ($v, $k . $v . $k, $dl);
}
natsort ($abc_array);
foreach ($abc_array as $k => $v)
{
if ($k < count ($abc_array) - 1)
{
$dl = str_replace ($v, $abc_array[count ($abc_array) - $k - 1], $dl);
continue;
}
}
return $dl = $dl4 . sha1 ($dl) . md5 ($dl) . $dl2 . $dl3;
}
if (substr ($_SERVER['HTTP_HOST'], 0, 4) == 'www.')
{
$domain = '.' . substr ($_SERVER['HTTP_HOST'], 4);
}
else
{
$domain = '.' . $_SERVER['HTTP_HOST'];
}
$dom = $_POST["T1"];
if ($dom != ''){
echo "License for domain : (" . $dom . ") is: <br>";
echo lic ($dom);
}
?>