<commit_before>
<?php
  require_once "/home/artisticagallery/public_html/PHPMailer/PHPMailerAutoload.php";

  //PHPMailer Object
  $mail = new PHPMailer;

  //The artist's email address and name
  $mail->From = $_POST["emailAddress"];
  $mail->FromName = $_POST["name"];
  $check = $_POST["subscription"];

  //To address and name
  $mail->addAddress("<EMAIL>", $_POST["fullName"]); //Pam's email

  //Address to which recipient will reply
  $mail->addReplyTo("<EMAIL>", "Reply"); //Pam's email

  //CC and BCC
  $mail->addCC("<EMAIL>");
  $mail->addBCC("<EMAIL>");

  //Send HTML or Plain Text email
  $mail->isHTML(true);

  $mail->Subject = "Art Request";
  $mail->Body = $_POST["message"] . " Subscibtion? " . $check ;
  $mail->AltBody = "This is the plain text version of the email content";
  $numAttachments = 0;

  //add attachment from the form (the art picture)
  if (isset($_FILES['picture']) &&
  $_FILES['picture']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture']['tmp_name'],
                          $_FILES['picture']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture1']) &&
  $_FILES['picture1']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture1']['tmp_name'],
                          $_FILES['picture1']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture2']) &&
  $_FILES['picture2']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture2']['tmp_name'],
                          $_FILES['picture2']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture3']) &&
  $_FILES['picture3']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture3']['tmp_name'],
                          $_FILES['picture3']['name']);
  $numAttachments = $numAttachments + 1;
  }<commit_msg>Fixed spelling error<commit_after>
<?php
  require_once "/home/artisticagallery/public_html/PHPMailer/PHPMailerAutoload.php";

  //PHPMailer Object
  $mail = new PHPMailer;

  //The artist's email address and name
  $mail->From = $_POST["emailAddress"];
  $mail->FromName = $_POST["name"];
  $check = $_POST["subscription"];

  //To address and name
  $mail->addAddress("<EMAIL>", $_POST["fullName"]); //Pam's email

  //Address to which recipient will reply
  $mail->addReplyTo("<EMAIL>", "Reply"); //Pam's email

  //CC and BCC
  $mail->addCC("<EMAIL>");
  $mail->addBCC("<EMAIL>");

  //Send HTML or Plain Text email
  $mail->isHTML(true);

  $mail->Subject = "Art Request";
  $mail->Body = $_POST["message"] . " subscription? " . $check ;
  $mail->AltBody = "This is the plain text version of the email content";
  $numAttachments = 0;

  //add attachment from the form (the art picture)
  if (isset($_FILES['picture']) &&
  $_FILES['picture']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture']['tmp_name'],
                          $_FILES['picture']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture1']) &&
  $_FILES['picture1']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture1']['tmp_name'],
                          $_FILES['picture1']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture2']) &&
  $_FILES['picture2']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture2']['tmp_name'],
                          $_FILES['picture2']['name']);
  $numAttachments = $numAttachments + 1;
  }
  if (isset($_FILES['picture3']) &&
  $_FILES['picture3']['error'] == UPLOAD_ERR_OK) {
    $mail->AddAttachment($_FILES['picture3']['tmp_name'],
                          $_FILES['picture3']['name']);
  $numAttachments = $numAttachments + 1;
  }
{'fraction_non_alphanumeric': 0.19925013390465987, 'fraction_numerical': 0.009105516871987145, 'mean_word_length': 3.7338403041825097, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 39, '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': '2031324', 'n_tokens_mistral': 1275, 'n_tokens_neox': 1234, 'n_words': 232}