| Lee Lundy Experian | Experian NCAC | Experian NCAC | Experian NCAC | Ann Sterling ( or ACTING VP/AGC) |
| 701 Experian Parkway | PO Box 9701 | PO Box 2002 | PO Box 4500 | 475 Anton Blvd |
| Allen, TX 75013 | Allen, TX. 75013 | Allen ,TX 75013 | Allen, TX 75013 | Costa Mesa, CA 92626 |
';
} else if($report_file_name == "2"){
$report_name_prefix = "Equifax Confirmation";
$credit_bureau_name_address = '
| Katherine Dunn | Equifax Information Services | Equifax Information Services |
| Assistant General Counsel | PO BOX 740241 | PO BOX 740256 |
| Equifax LLC | Atlanta, GA 30374 | Atlanta, GA 30374 |
| 1550 Peachtree St | | |
| NE Atlanta, GA 30309 | | |
';
} else if($report_file_name == "3"){
$report_name_prefix = "TransUnion File";
$credit_bureau_name_address = '
| Gary S. Friedlander | TransUnion | TransUnion |
| Vice President & Division General Counsel for TransUnion LLC, | PO Box 1000 | PO Box 2000 |
| Office of the General Counsel/td> | Chester, PA | Chester, PA |
| Transunion Corp. | 19022-1000 | 19016-2000 |
| 555 W. Adams Street | | |
| Chicago IL 60661 | |
';
} else if($report_file_name == "0"){
$report_name_prefix = "";
$credit_bureau_name_address = '| '.nl2br($_POST["credit_bureau_name_address"]).' |
';
}
//print_r($image1."+++++".$sincerely);exit;
// the unique pdf filename which will be saved on server
$file_name = mt_rand(0, 1000).time().'_'.$pdf_name;
if(isset($cra_report)){
//get html content from pre defined format
$today = date("d M, Y");
$html = file_get_contents($html_format_name);
// if(!empty($_POST["clientId"])){
// $varList = array(
// '__CRA_REPORT__', '__FIRST_NAME__','__LAST_NAME__','__STREET_NO__','__STREET_NAME__',
// '__CITY__','__STATE__','__TODAY__','__PERSONAL_TRACKING_NUMBER__',
// '__credit_bureau_name_address__','__sincerely__','__image1__','__image2__',
// '__image3__','__image4__','__image5__'
//
// );
//
// $valueList = array(
// $cra_report, $first_name,$last_name,$street_no,$street_name,
// $city,$state,$today,$personal_tracking_number,
// $credit_bureau_name_address,$sincerely,$image1,$image2,$image3,$image4,$image5 );
//
// }else{
if(empty($_POST["clientId"])){
$varList = array(
'__CRA_REPORT__', '__FIRST_NAME__','__LAST_NAME__','__STREET_NO__','__STREET_NAME__',
'__CITY__','__STATE__','__TODAY__','__PERSONAL_TRACKING_NUMBER__',
'__credit_bureau_name_address__','__CURRENT_SSN__','__CURRENT_DOB__','__ACCOUNT_DEROGATORY__'
);
$valueList = array(
$cra_report, $first_name,$last_name,$street_no,$street_name,
$city,$state,$today,$personal_tracking_number,
$credit_bureau_name_address,$current_ssn,$current_dob,$account_derogatory);
}
$serialLineHTML = "";
if(empty($_POST["clientId"])){
for($i=1;$i<= 5;$i++){
if(isset($_FILES["image".$i]["name"]) && !empty($_FILES["image".$i]["name"])){
$imagefilename[$i] = mt_rand(0, 1000).time().'_'.$_FILES["image".$i]["name"];
upload_media($imagefilename[$i],$_POST['image'.$i]);
$deletionArray[] = $imagefilename[$i];
$varList[] = "__image".$i."__";
$valueList[] = $imagefilename[$i];
$start = "__STARTM".$i."__";
$end = "__ENDM".$i."__";
$html = str_replace(array($start,$end),array("",""),$html);
// $serialLineHTML = $serialLineHTML.$fileNameArray[$i-1]."
";
} else {
$from = strpos($html, "__STARTM".$i."__");
$to = strpos($html, "__ENDM".$i."__");
$html = str_replace(substr($html,$from,($to-$from)+8+strlen($i)),"",$html);
}
}
}
//replace serial lines
$html = str_replace('__SERIAL_LINES__',$serialLineHTML,$html);
//
include '../common_image_file.php';
//Optional Creditors and Dates
for($i=1;$i<= 5;$i++){
if(!empty($_FILES["report-image".$i]["name"])){
$imagefilename[$i] = mt_rand(0, 1000).time().'_'.$_FILES["report-image".$i]["name"];
upload_media($imagefilename[$i],$_POST['image'.$i]);
$deletionArray[] = $imagefilename[$i];
$html = str_replace("__report-image".$i."__","
",$html);
} else {
$html = str_replace("__report-image".$i."__","",$html);
}
}
for($i=1;$i<= 5;$i++){
if(!empty($_POST["report-data".$i]) ){
$report_data[$i] = nl2br($_POST["report-data".$i]);
$html = str_replace("__report-data".$i."__","
".$report_data[$i]."
",$html);
} else {
$html = str_replace("__report-data".$i."__","",$html);
}
}
for($i=1;$i<= 5;$i++){
if(empty($_POST["report-data".$i]) && empty($_FILES["report-image".$i]["name"])){
$from = strpos($html, "__START".$i."__");
$to = strpos($html, "__END".$i."__");
$html = str_replace(substr($html,$from,($to-$from)+7+strlen($i)),"",$html);
if($i==5){
$html = str_replace("__ACCOUNT_ASPECTS__", implode(", ",$account_aspects ), $html);
}
} else {
$start = "__START".$i."__";
$end = "__END".$i."__";
$html = str_replace(array($start,$end),array("",""),$html);
}
}
/*
if(!empty($_POST["report-data".$i])){
$report_data[$i] = nl2br($_POST["report-data".$i]);
$varList[] = "__report-data".$i."__";
$valueList[] = $report_data[$i];
$start = "__START".$i."__";
$end = "__END".$i."__";
$html = str_replace(array($start,$end),array("",""),$html);
$serialLineHTML .= '
Medical creditor #'.$i.': __creditor'.$i.'__ Account #'.$i.' ALLEGED: __account'.$i.'__
';
}
*/
require("../common_file.php");
} else {
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."RTG-SCRM-cra-5-attack-letter.html";
header("Location:".$url);
}
?>