require_once("includes/form-helpers.inc.php");
$bFormWasSubmitted=isset($_POST["email"]);
$email = $_POST["email"];
$success = true;
if($bFormWasSubmitted)
{
//lindgaard%40adslhome.dk
//lets create url to check
/*
//http://www.soundtaxi.info/_/stats/_search_and_gen_lic.php
22-Oct-2011 changed to:
http://licstat.soundtaxi.info/_/stats/_search_and_gen_lic.php
Soundtaxi & Allmusicconverter Platinum, Professional, Pro+VideoRip editions
2.
http://licstat.tuneraft.com/_/stats/_search_and_gen_lic.php
Soundtaxi & Allmusicconverter Media Suite & other programs
*/
$url = "http://licstat.soundtaxi.info/_/stats/_search_and_gen_lic.php?Page=1&Keywords=".mysql_escape_string($email)."&SearchIn=11";
$res = file_get_contents($url);
$pos = strpos($res, "No Records found");
if($pos>0) //customer not found
{
$success = false;
}
else
{
$success = true;
//lets parse response text
$start = strpos($res, "
")+26;
$end = strpos($res, " ");
$res = substr($res, $start, $end-$start);
$arFields = explode("", $res);
if($arFields!=null && count($arFields)>10)
{
/*
Array
(
[0] => Details
[1] => 406622
[2] =>
[3] => SNP1SAL7F5700A1F4DA5BA933D976BD
[4] => KUIWX@
[5] => E40C69EA7338
[6] => SoundTaxi Professional
[7] => 2012-07-10 06:13:08
[8] =>
[9] => 26.99
[10] => Kim Marius
[11] => Lindgaard
[12] => lindgaard@adslhome.dk
[13] => lic2.l-server.info
)
*/
$license_code = $arFields[3];
$body = "Dear ".$arFields[10]." ".$arFields[11].",\r\n";
$body .= "Thank you for being our customer\r\n\r\n";
$body .= "Your ".$arFields[6]." license code: ".$license_code."\r\n";
if( strlen($arFields[4])>0 && strlen($arFields[5])>0 )
$body .= " Activation Code: ".$arFields[4]." System Code:".$arFields[5]."\r\n";
$body .= "\r\nbest regards\r\n";
$body .= $arFields[6]." Support Team";
$support_email = "support@soundtaxi.info";
$subject = $arFields[6].". Your license code";
//$headers = "From: ".$support_email."\r\n"."Reply-To: ".$support_email." \r\nX-Mailer: PHP/".phpversion();
//@mail($email, $subject, $body, $headers);
sendEMail($support_email, $email, $subject, $body);
}
}
}
?>
Restore SoundTaxi license code by your email address. SoundTaxi Support Area