<commit_before><!-- http://fc.isima.fr/~rophelizon -->

<!-- Implémenter des tests auto avec travis -->

<!DOCTYPE html>
<html>
	<link rel="stylesheet" href="traitement.css" />
	<body>
		<form method="post" action="index.php">
			
			<p class="Interface2">
				<input type="submit" value="Déconnexion" />
			</p>
			
  		<p><?php
  		
  		$pseudo = $_POST['pseudo'];
  		$pass = $_POST['pass'];
  		
  		function checkParam($param)
		{
			return isset($param) && !empty($param);
		}
		
		
		function checkUser($param)
		{
			$validation = 0;
			$BDD = fopen("./BDD.txt", "r");
			
			
			while(!feof($BDD))
			{
				$ligne = fgets($BDD);
				$ligne = substr($ligne, 0, strlen($ligne)-1);
				//Retire le caractère de contrôle \n
				if($ligne == $param)
				{
					echo "ça marche !";
					$validation = 1;<commit_msg>suite<commit_after><!-- http://fc.isima.fr/~rophelizon -->

<!-- Implémenter des tests auto avec travis -->

<!DOCTYPE html>
<html>
	<link rel="stylesheet" href="traitement.css" />
	<body>
		<form method="post" action="index.html">
			
			<p class="Interface2">
				<input type="submit" value="Déconnexion" />
			</p>
			
  		<p><?php
  		
  		$pseudo = $_POST['Username'];
  		$pass = $_POST['Password'];
  		$new_pseudo = $_POST['NewUsername'];
  		$new_pseudo_verif = $_POST['NewUsenameVerif'];
  		$new_pass = $_POST['NewPassword'];
  		
  		function checkParam($param)
		{
			return isset($param) && !empty($param);
		}
		
		
		function checkUser($param)
		{
			$validation = 0;
			$BDD = fopen("./BDD.txt", "r");
			
			
			while(!feof($BDD))
			{
				$ligne = fgets($BDD);
				$ligne = substr($ligne, 0, strlen($ligne)-1);
				//Retire le caractère de contrôle \n
				if($ligne == $param)
				{
					echo "ça marche !";
					$validation = 1;
{'fraction_non_alphanumeric': 0.19932049830124576, 'fraction_numerical': 0.0056625141562853904, 'mean_word_length': 2.791845493562232, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, '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': '5850745', 'n_tokens_mistral': 813, 'n_tokens_neox': 677, 'n_words': 127}