<commit_before><?php

require('dbconnect.php');
if (!empty($_POST['user-register']))
{


if(isset($_POST['newuser'])){ $username = $_POST['newuser']; }
if(isset($_POST['email'])){ $email = $_POST['email']; }
if(isset($_POST['newpass'])){ $password = $_POST['newpass']; }

$username=mysql_real_escape_string($username);
$email=mysql_real_escape_string($email);
$password=md5(mysql_real_escape_string($password));

    /*Adding User details in database */
$query = "INSERT INTO users (username, password, email_id,level) VALUES ('$username', '$password', '$email','1')";
$result = mysql_query($query);
if($result)
{
  echo "User Created Successfully.";
}

}

?><commit_msg>added status field in query<commit_after><?php

require('dbconnect.php');
if (!empty($_POST['user-register']))
{


if(isset($_POST['newuser'])){ $username = $_POST['newuser']; }
if(isset($_POST['email'])){ $email = $_POST['email']; }
if(isset($_POST['newpass'])){ $password = $_POST['<PASSWORD>']; }

$username=mysql_real_escape_string($username);
$email=mysql_real_escape_string($email);
$password=md5(mysql_real_escape_string($password));

    /*Adding User details in database */
$query = "INSERT INTO users (username, password, email_id,level,status) VALUES ('$username', '$password', '$email','1','user')";
$result = mysql_query($query);
if($result)
{
  echo "User Created Successfully.";
}

}

?>
{'fraction_non_alphanumeric': 0.2199563000728332, 'fraction_numerical': 0.0029133284777858705, 'mean_word_length': 8.475862068965517, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3457517', 'n_tokens_mistral': 451, 'n_tokens_neox': 442, 'n_words': 82}