<commit_before><form method="POST" action "">
<input type="text" name="query" placeholder="Search" required>
<input type="submit" name="submit">
</form>

<?php
require 'database.php';
$query = $_POST['query'];
echo $query;
$sql = "SELECT * FROM files WHERE MATCH (name,location) AGAINST(\"$query\") ORDER BY MATCH (name) AGAINST('$query') DESC";
$result = mysqli_query($link,$sql);
/*$row = mysqli_fetch_array($result);
print_r($row);*/
while($row = mysqli_fetch_array($result))
{
  $name = $row['name'];
  $hash = $row['hash'];
  echo "<a href=\"http://192.168.0.8/Offline/postman.php?hash=$hash\">$name</a> <br>";
}<commit_msg>Bug fixes.<commit_after><form method="POST" action "">
<input type="text" name="query" placeholder="Search" required>
<input type="submit" name="submit">
</form>

<?php
require 'database.php';
$query = $_POST['query'];
$ipaddr = $_SERVER['REMOTE_ADDR'];
$sql = "SELECT * FROM files WHERE MATCH (name,location) AGAINST(\"$query\") AND ip != \"$ipaddr\" ORDER BY MATCH (name) AGAINST('$query') DESC";
$result = mysqli_query($link,$sql);
/*$row = mysqli_fetch_array($result);
print_r($row);*/
while($row = mysqli_fetch_array($result))
{
  $name = $row['name'];
  $hash = $row['hash'];
  echo "<a href=\"http://192.168.0.8/Offline/postman.php?hash=$hash\">$name</a> <br>";
}
{'fraction_non_alphanumeric': 0.23556581986143188, 'fraction_numerical': 0.012317167051578136, 'mean_word_length': 6.471264367816092, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2515224', 'n_tokens_mistral': 490, 'n_tokens_neox': 466, 'n_words': 100}