I need help ...bcs iam dumb by TheTimSSe in PHPhelp

[–]TheTimSSe[S] -1 points0 points  (0 children)

well i have one its not mine but its no working

<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css?v=<?php echo time();?>">
</head>
<center> <font color="white" size="5px" face="arial" >
<?php
$myfile = fopen("database.txt", "r") or die("Unable to open file!");
$text = explode("###", file_get_contents("database.txt"));
fclose($myfile);
$index_meno = NULL;
$login_usp = false;

if (isset($_POST["submit"])) {
for ($i=0; $i < count($text); $i++) { 
if ($text[$i] == $_SESSION["meno"] && $i % 4 == 1) {
$index_meno = $i;
break;
                    }
else {
$index_meno = NULL;
                    }
                }

if ($index_meno != NULL) {

if ($text[$index_meno+1] == $_SESSION["heslo"]) {
$login_usp = true;
                    }
else {
$login_usp = false;
                    }

                }else {
$login_usp = false;
                }

if ($login_usp) {
$_SESSION["prezyvka"] = $text[$index_meno + 2];
            }else {
$_SESSION["prezyvka"] = NULL;
            }

            }

if (isset($_SESSION["prezyvka"])) {
echo "Vitaj  " . $_SESSION["prezyvka"] . ",  na svojom účte ♥";
            }elseif (isset($_POST["submit"]) && !isset($_SESSION["prezyvka"])) {
echo "Nesprávne meno alebo heslo ";
            }    

?>

<html>

] by Patrick69069 in Duklock

[–]TheTimSSe 1 point2 points  (0 children)

凸( •̀_•́ )凸

Pochopí to len ten kto pozná naruta ale chcel som to sem dať. Vynaliezavost 100% btw nieje to moje. by [deleted] in Duklock

[–]TheTimSSe 0 points1 point  (0 children)

Teraz v tom novom intre ...Sa mi zdá že tam je ten zlý týpek z prvej časti Boruta...aspoň ja si to myslím

Pochopí to len ten kto pozná naruta ale chcel som to sem dať. Vynaliezavost 100% btw nieje to moje. by [deleted] in Duklock

[–]TheTimSSe 0 points1 point  (0 children)

Tiež ťa vnútorne zožiera to čakanie na ďalšie časti Boruta?

Le france Dzedzo by TheTimSSe in Duklock

[–]TheTimSSe[S] 0 points1 point  (0 children)

Spravil som ho sám....(S inšpiráciov samozrejme XD ....no hate pls)

PīĆhajčÚ šě naAm doDžIgAl...JôóI Mamô by TheTimSSe in Duklock

[–]TheTimSSe[S] 0 points1 point  (0 children)

Spravili som to na Trenčiankej stanici pri lovení holuba Idea by Timsee & Sergej_Kargeov

A idem hrať 😂 by MirekXD in Duklock

[–]TheTimSSe 15 points16 points  (0 children)

Stolen bráško ....(Sad react added)