<commit_before><?php

header("Content-Type: application/json");

$output = array(
    "status" => 200,
    "message" => "",
    "data" => "",
    "error" => ""
);

$name = filter_input(INPUT_POST, "name");
$email = filter_input(INPUT_POST, "email");
$message = filter_input(INPUT_POST, "message");

if (trim($name) != "") {
    if (preg_match("/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/", $email)) {

        if (trim($message) != "") {
            $headers = 'From: ' . $name . ' <' . $email . '>\r\n';

            if (mail("<EMAIL>", "Magnificent Query", $message, $headers) !== false) {
                $output["message"] = "Thanks! Your request was sent.";<commit_msg>change To: email on contact form<commit_after><?php

header("Content-Type: application/json");

$output = array(
    "status" => 200,
    "message" => "",
    "data" => "",
    "error" => ""
);

$name = filter_input(INPUT_POST, "name");
$email = filter_input(INPUT_POST, "email");
$message = filter_input(INPUT_POST, "message");

if (trim($name) != "") {
    if (preg_match("/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/", $email)) {

        if (trim($message) != "") {
            $headers = 'From: ' . $name . ' <' . $email . '>\r\n';

            if (mail("<EMAIL>", "Magnificent Query", $message, $headers) !== false) {
                $output["message"] = "Thanks! Your request was sent.";
{'fraction_non_alphanumeric': 0.26346863468634685, 'fraction_numerical': 0.007380073800738007, 'mean_word_length': 2.9649122807017543, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4689833', 'n_tokens_mistral': 491, 'n_tokens_neox': 474, 'n_words': 92}