<!DOCTYPE html>


CRAFTRISE SORGU <title>CRAFTRISE SORGU</title>
<style>
body {
background-color: black;
color: red;
text-align: center;
font-family: Arial, sans-serif;
}
input[type=text] {
padding: 10px;
margin: 10px;
border: 2px solid red;
border-radius: 5px;
}
button[type=submit] {
padding: 10px 20px;
background-color: red;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type=submit]:hover {
background-color: darkred;
}
h1 {
margin-top: 50px;
}
h2 {
margin-top: 20px;
}
a {
display: block;
margin-top: 20px;
text-decoration: none;
color: red;
font-weight: bold;
}
.result {
margin-top: 20px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 5px;
max-width: 80%;
margin-left: auto;
margin-right: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>


CRAFTRISE SORGU




<button type="submit">Ara</button>

TXT Olarak İndirin Sonuçta Tamamı Gözükmüyor


By shigeru / Discord shigerusensei
<th> Yapımcı Benim Ama Sorumluluk Almiyom :D </th>



if ($_SERVER["REQUEST_METHOD"] == "POST") {
$username = $_POST["username"];
$log_file = "craftrisenoktacom.log";

$found_line = false;
$handle = fopen($log_file, "r");
if ($handle) {
while (($line = fgets($handle)) !== false) {
if (strpos($line, $username) !== false) {
$found_line = $line;
break;
}
}
fclose($handle);
}

if ($found_line !== false) {
echo '<div class="result">

Sonuç: ' . htmlspecialchars($found_line) . '

</div>';
echo '<a href="download.php?line=' . urlencode($found_line) . '">Sonucu İndir</a>';
} else {
echo "

$username bulunamadı

";
}
}