sql_query($sql); if ($dbres === false) { bb_debugdberror($db); $error = "Internal error. Please try again."; } $data = $db->sql_fetchrow($dbres); if ($data === false) { $error = "Invalid activation code."; } else { $url_orderpage = 'https://www.binarybiz.com/vlab/buy/index.html'; if ($data['valid'] == "no"){ $error = "Activation code is not valid anymore. If you want more quota, you will need to place an order."; }elseif ($data['activated'] == "yes"){ $error = "Activation code already used. If you want more quota, you will need to place an order."; } } } global $g_virtuallab_win_v2; // Assign quota if ($error == "") { if ($data['version'] == "win" || $data['version'] == "mac") { // Assign pro quota $vl4cmd = new vlab4cmd(BB_VL_WIN); // Clientmask set to all modules $clientmasks = array('mac'=>$g_virtuallab_win_v2['1']['modules']['40']['clientmask'],'win'=>$g_virtuallab_win_v2['1']['modules']['41']['clientmask']); $clientmask = $clientmasks[$data['version']]; // Expires in 7 days, regardless of use $timeexpire = time() + (7*24*60*60); $expireson = date("Y-m-d H:i:s", $timeexpire); // Quota scope $quotascope = 5; // One-time (binding) // Create voucher $result = $vl4cmd->new_voucher(-1, $clientmask, 1, $quotascope, 0, 0, 0, $data['quota'], "", $expireson); if ($result[0] == "") $error = "Communication problems with the VirtualLab server. Wait a minute and refresh this page."; if ($result[0] == "WRONG PARAMS") $error = "Wrong VirtualLab parameters."; if ($result[0] == "FAILED") $error = "Communication problems with the VirtualLab server. Wait a minute and refresh this page."; if ($result[0] == "SESSION NOT FOUND") $error = "Unknown VirtualLab Session ID."; if ($result[0] == "ALREADY HAS FREE QUOTA") $error = "Session already has assigned free quota. If you want more quota, you will need to place an order."; if ($error == "" && $result[0] != "OK") $error = "Failure during operation."; // Get voucher number if ($error == "") { $voucher_id = $result[1]; // Send voucher ID to email too $body_txt = "Below is your activation number. \r\n". "This code will expire in seven days, regardless of use.\r\n". "Write down activation number, open VirtualLab Client window and click \r\n". "\"Load Quota\" button, then select \"Use Activation Number\" option and enter ". "activation number to load assigned quota.\r\n\r\n\r\n". "Activation number: ".$voucher_id."\r\n\r\n\r\n"; $body_txt .= "Download page:\r\n".BB_DL_COMMON; $ret = bb_sendEmail("freequota", $data['email'], "", "", "BinaryBiz.com - Quota Activation Number", "", $body_txt, false, true); } } elseif ($data['version'] == "mac-classic") { // Assign classic quota $vl3cmd = new vlab3cmd(BB_VL_MAC, "mac"); $result = $vl3cmd->set_free_quota($data['session_id'], $data['quota']); if ($result == "") $error = "Communication problems with the VirtualLab server. Wait a minute and refresh this page."; if ($result == "1") $error = "Quota has already been assigned to this session. If you want more quota, you will need to place an order."; if ($result == "2") $error = "Free quota is not available due to bad or missing computer configuation. Missing or invalid computer info."; if ($result == "3") $error = "Free quota has already been given for this or another session. You must purchase quota, or wait until this session expires."; if ($result == "4") $error = "The VirtualLab SessionID was incorrect. Please try a new VirtualLab session."; if ($error == "" && $result != "OK") $error = "Failure during operation."; } else $error == "Support for this version of VirtualLab has been discontinued. Please download the latest version."; } // Update freequota record if ($error == "") { $sql = "update freequota set activated = 'yes', valid = 'no', dt_update = now() where id = '{$data['id']}'"; $dbres = $db->sql_query($sql); // Make update for client_ip if session id is empty, otherwise use session_id if ($data['session_id'] == "") { $sql = "update freequota set valid = 'no', dt_update = now() where id <> '{$data['id']}' and (email = '{$data['email']}' or client_ip = '{$data['client_ip']}')"; } else { $sql = "update freequota set valid = 'no', dt_update = now() where id <> '{$data['id']}' and (email = '{$data['email']}' or session_id = '{$data['session_id']}')"; } $dbres = $db->sql_query($sql); } // Send email to newslist if ($error == "") { /* // Send email to subscribers list $ml_from = $data['email']; $ml_to = $g_emailcnf['subscribe']['email']; $ml_subject = "Subscription"; $ml_message = "Subscription email message"; $ml_headers = 'From: ' . $ml_from . "\r\n" . 'Reply-To: ' . $ml_from . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($ml_to, $ml_subject, $ml_message, $ml_headers); */ } // Get montly assigned quota and calc availability $fqinfo = array(); $res = bb_getMonthlyAssignedQuota($db, $fqinfo); ?> :: BinaryBiz Free Quota :: Recover for Free, Deleted files, damaged drives, and more! Courtesy of BinaryBiz

 


FREE Quota Activation


Your free quota has been assigned and it is ready for use.

Below is your activation number. This code will expire in seven days, regardless of use.
Write down activation number, open VirtualLab Client window and click "Load Quota" button, then select "Use Activation Number" option and enter activation number to load assigned quota.

Activation number:

Free quota cannot be assigned.




 

 

TOTAL DOWNLOADS TO DATE
TOTAL DATA RECOVERED
GB
RECOVERING DATA NOW
Users