ERROR! File \"" . $file_arr[$x] . "\" does not exist!
\n");
$error = 1;
}
}
if (preg_match("/\D/",$days) && $days != -1) {
echo ("ERROR! The 2nd parameter must be a whole number greater than or equal to -1!
\n");
$error = 1;
}
if (!preg_match("/0|1|2/",$mode)) {
echo ("ERROR! The 3rd parameter can only be 0, 1, or 2!
\n");
$error = 1;
}
if (!$error) {
for ($x=0; $x");
}
if ($mode == 0 || $mode == 2) { #Print the "updated" date
echo ($updated_date);
}
break; #At least one of the files has been updated. No reason to check the rest.
}
} #for-loop
} #!$error
} #PrintUpdatedInfo
##############################################################
?>