Fix linting

This commit is contained in:
Nigel Sheldon 2020-11-21 15:51:56 +01:00
commit 1614145b18
262 changed files with 45324 additions and 42695 deletions

View file

@ -9,16 +9,14 @@ require_once("common.php"); //Chargement de tout le nécessaire pour le jeu
function traiterfichier($uri, &$list)
{
$fp = fopen($uri, "r");
while (!feof($fp))
{
$buffer = fgets($fp);
if (preg_match("#^([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})#", $buffer, $match))
{
var_dump($match);
}
}
fclose($fp);
$fp = fopen($uri, "r");
while (!feof($fp)) {
$buffer = fgets($fp);
if (preg_match("#^([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})#", $buffer, $match)) {
var_dump($match);
}
}
fclose($fp);
}
$list = array();
@ -33,4 +31,3 @@ $bdd->query("INSERT INTO proxy_list VALUES ('".implode("'),('", $list)."');");
$bdd->deconnexion();
print "Procédure terminée, ".count($list)." proxys listés.";
?>