| Lee Lundy | Experian North America | Experian |
| SVP Consumer Services | Vice President and Assistant General Counsel | PO Box 9701 |
| Experian NCAC | Office of the Corporate Counsel | Allen, TX 75013 |
| 701 Experian Pkwy | Ann Sterling (or ACTING VP/AGC) | |
| Allen, TX 75013 | 475 Anton Blvd | |
| Costa Mesa, CA 92626 | |
';
} else if($report_file_name == "2"){
$report_name_prefix = "Equifax Confirmation";
$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";
$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 | |
';
}*/
// the unique pdf filename which will be saved on server
$file_name = mt_rand(0, 1000).time().'_'.$pdf_name;
if(isset($name_address)){
//get html content from pre defined format
$today = date("d M, Y");
$html = file_get_contents($html_format_name);
// $personal_tracking_number = getPersonalTrackingNumber();
$varList = array(
'__NAME_ADDRESS__','__RECORDS__' ,'__TODAY__'
// '__EXPERIAN_REPORT__', '__NAME_ADDRESS__','__RECORDS__' ,'__TODAY__',
// '__SOCIAL_SECURITY_NUMBER__' ,'__ADDRESS__' ,'__REPORT_NAME_PREFIX__'
);
$valueList = array(
$name_address,$records,$today);
/*$valueList = array(
$experian_report, $name_address,$records,$today,$personal_tracking_number,$address,$report_name_prefix);
*/
$deletionArray = array();
/* $serialLineHTML = "";
$fileNameArray = array(
"Copy of the troublesome mark on my files as shown on the included",
"Copy of Credit Report",
"Copy of My State Issued current legal photographic identification",
"Copy of My Social Security Card"
); */
for($i=1;$i<= 4;$i++){
if(isset($_FILES["image".$i]["name"]) && !empty($_FILES["image".$i]["name"])){
$imagefilename[$i] = mt_rand(0, 1000).time().'_'.$_FILES["image".$i]["name"];
move_uploaded_file($_FILES["image".$i]["tmp_name"], $imagefilename[$i]);
$deletionArray[] = $imagefilename[$i];
$varList[] = "__image".$i."__";
$valueList[] = $imagefilename[$i];
$start = "__START".$i."__";
$end = "__END".$i."__";
$html = str_replace(array($start,$end),array("",""),$html);
// $serialLineHTML = $serialLineHTML.$fileNameArray[$i-1]."
";
} else {
$from = strpos($html, "__START".$i."__");
$to = strpos($html, "__END".$i."__");
$html = str_replace(substr($html,$from,($to-$from)+7+strlen($i)),"",$html);
}
}
/* if(!empty($serialLineHTML)){
$serialLineHTML = "Enclosed PLEASE review a current :
".$serialLineHTML;
}
$html = str_replace('__SERIAL_LINES__',$serialLineHTML,$html); */
require("../common_file.php");
} else {
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."VipRTG-CHP-13-L5-ADAEO4UST-STAFF-ONLY-LETTER-5-SENT-ON-DAY-1.html";
header("Location:".$url);
}
?>