user_email; $newpas = rand(1000,9999); $newpas1 = sha1($newpas); $user_id = $row->id; $username = $row->username; mysql_query("UPDATE user SET passwort='$newpas1' WHERE id = '$user_id'"); $sender = "Service@my-smess.de"; $empfaenger = "$mail"; $meinusername = $username; $betreff = $lang['304']; $mailtext = "Moin $meinusername,\n".$lang['305']." $newpas\n ".$lang['306']; mail($empfaenger, $betreff, $mailtext, "From: $sender "); } if(empty($c)) { $error = "".$lang['302'].""; } else { $error = "".$lang['303'].""; } } ?>

Schliessen  

Schliessen  
Nutzername / E-Mail Adresse