"; } else { $from = strpos($html, "__STARTM".$i."__"); $to = strpos($html, "__ENDM".$i."__"); $html = str_replace(substr($html,$from,($to-$from)+8+strlen($i)),"",$html); } } } $html = str_replace('__SERIAL_LINES__',$serialLineHTML,$html); include '../common_image_file.php'; for($i=1;$i<= 5;$i++){ if(isset($_POST["creditor".$i]) && !empty($_POST["creditor".$i])){ $creditor[$i] = $_POST["creditor".$i]; $varList[] = "__CREDITOR".$i."__"; $valueList[] = nl2br($creditor[$i]); $start = "__START".$i."__"; $end = "__END".$i."__"; $html = str_replace(array($start,$end),array("",""),$html); $serialLineHTML .= '
Alleged Derogatory Account #'.$i.' as is reported on my credit report:
__CREDITOR'.$i.'__
'; } else { $from = strpos($html, "__START".$i."__"); $to = strpos($html, "__END".$i."__"); $html = str_replace(substr($html,$from,($to-$from)+7+strlen($i)),"",$html); } } require("../common_file.php"); } else { $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."RTG-V1S7-creditor-GENERAL-attack.html"; header("Location:".$url); } ?>