Got it now.....this
function Chk_File($file) {
$fp = fopen($file,"r") or die("Failed!");
$end_report = fread($fp, filesize($filename));
had to be this for it to even check it...
function Chk_File($filename) {
$fp = fopen($filename,"r") or die("Failed!");
$end_report = fread($fp, filesize($filename));
It wasn't even getting to the if/else statement because it
never opeened the file in the first place to go through it.