/* Decoded by unphp.net */ $value) { if (!preg_match($pattern, $value)) { $exclude[] = $value; } } $res = implode(" ", $exclude); return file_put_contents($file, $res); } function DisplayError($errMsg){ echo '
⚠️ '.$errMsg.'
'; } function clean($var){ $nvar = trim(htmlspecialchars($var)); $banned_chars = array("ports", "port", "cccam", "mgcamd", "http", "default", "editor", "restart", "yes", "cache", "profiles", "profile" , "enddate", "quot"); return str_ireplace($banned_chars, "", preg_replace("![^a-z0-9]+!i", "", $nvar)); } ?>