Exemplo n.º 1
0
function recordFileError($str, $file_name, $error)
{
    $_SESSION["errors"][] = str_replace("[" . $str . "]", "<strong>" . sanitizeStr($file_name) . "</strong>", $error);
}
Exemplo n.º 2
0
function sanitizeStrTrim($str)
{
    return sanitizeStr(trim($str));
}