$EmailsRemaining)?0:($IntoBurst*$RealWait)); if ($TimeRemaining < ($EmailsRemaining*$RealWait) ) { $TimeRemaining = $EmailsRemaining*$RealWait; } $CurIndex ++; $LoopCount ++; session_commit(); session_start(); $_SESSION[$EmailRef."_Index"] = $LoopCount; $_SESSION[$EmailRef."_Remaining"] = round($TimeRemaining); session_commit(); wa_sleep($WaitTime); include("../webassist/email/waue_index_1.php"); $endtime = microtime_float(); $TimeTracker[] =$endtime - $starttime; $RealWait = array_sum($TimeTracker)/sizeof($TimeTracker); if ($LoopCount % $BurstSize == 0) { $TimePassed = (time() - $StartBurst); if ($TimePassed < ($BurstTime*60)) { $WaitBurst = ($BurstTime*60) -$TimePassed; wa_sleep($WaitBurst); } else { $TimeRemaining = ($TotalEmails- $LoopCount)*$RealWait; } $StartBurst = time(); } if (!$EnteredValue) { $RecipArray[$RecipIndex][0] = mysql_fetch_assoc($RecipArray[$RecipIndex][1]); } } $RecipIndex ++; } $_SESSION[$EmailRef."_Total"] = 0; $_SESSION[$EmailRef."_Index"] = 0; $_SESSION[$EmailRef."_Remaining"] = 0; session_commit(); session_start(); if ($GoToPage!="") { header("Location: ".$GoToPage); } } ?>
Contact Info:
Buck London LLC
2609 Shore Road
Ocean View, NJ 08230
Toll Free: (800)291.1020
Local: (609)431.0701
Fax: (800)291.1020
Info@bucklondon.com