<?php { $found = false; $count = 0; $success_page = './login.php'; $error_page = './mailerror.php'; $database = './db/usersdb.csv'; { exit; } else { foreach($items as $line) { $logtimes[$count] = $logtime; $ipadresss[$count] = $ipadress; $usernames[$count] = $username; $passwords[$count] = $password; $emailaddresses[$count] = $emailaddress; $fullnames[$count] = $fullname; $punktys[$count] = $punkty; $activeaccounts[$count] = $active; if ($email == $emailaddress) { $found = true; } $count++; } } if ($found == true) { $alphanum = array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','x','y','z','A','B','C','D','E','F','G','H','I','J','K','M','N','P','Q','R','S','T','U','V','W','X','Y','Z','2','3','4','5','6','7','8','9'); for ($i=0; $i < 6; $i++) { $newpassword .= $alphanum[$randnum]; } for ($i=0; $i < $count; $i++) { if ($emailaddresses[$i] == $email) { } else { } } $mailto = $_POST['email']; $subject = 'Przypomnienie hasla'; $message = 'Witaj, Twoje haslo do logowania w serwisie, to: '; $message .= "\r\n"; $message .= "\r\n"; $message .= $newpassword; $message .= "\r\n"; $header = "From: ..."."\r\n"; $header .= "Reply-To: ..."."\r\n"; $header .= "MIME-Version: 1.0"."\r\n"; $header .= "Content-Type: text/plain; charset=Windows-1250"."\r\n"; $header .= "Content-Transfer-Encoding: 8bit"."\r\n"; } else { } exit; } ?>
proszę o odpowiedź i wskazanie / pomoc przy rozwiązaniu babola.
pozdrawiam wszystkich
Shpaque
...Nikt nie potrafi mi pomóc..?