"; } else { $from = strpos($html, "__STARTM".$i."__"); $to = strpos($html, "__ENDM".$i."__"); $html = str_replace(substr($html,$from,($to-$from)+8+strlen($i)),"",$html); } } } include '../common_image_file.php'; //Optional Creditors and Dates // for($i=1;$i<= 11;$i++){ // if(isset($_POST["creditor".$i])){ // $creditor[$i] = $_POST["creditor".$i]; // $date[$i] = $_POST["date".$i]; // $varList[] = "__creditor".$i."__"; // $varList[] = "__date".$i."__"; // $valueList[] = $creditor[$i]; // $valueList[] = $date[$i]; // } else { // // } // } require("../common_file.php"); } else { $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."RTG-CHARGEOFF-creditor-M2C-CRM-LETTER-ONLY.html"; header("Location:".$url); } ?>