Store in GIT

This commit is contained in:
2026-06-17 15:42:16 +02:00
parent 9950ec87ac
commit 90f27d4516
47 changed files with 19559 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
require("../../../inc/connect.php");
$handle = fopen("ip.txt", "r");
if($handle)
{
$stmt = $mysqli->prepare("DELETE FROM `view` WHERE `ip`=?");
$stmt->bind_param("s", $ip);
$stmt2 = $mysqli->prepare("DELETE FROM `download` WHERE `ip`=?");
$stmt2->bind_param("s", $ip);
while(($line = fgets($handle)) !== false)
{
$ip = trim($line);
if(substr($ip,0,1) == "#")
continue;
if($ip != "")
{
$stmt->execute();
$stmt2->execute();
}
}
fclose($handle);
$stmt->close();
$stmt2->close();
}
?>