a start on the forgot password site :)

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@564 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Ed Kraus 2009-07-01 15:08:12 +00:00
parent 621b72122e
commit c5f4467b9d
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php
$to = $_POST['email'];
$subj = "Forgotten Password Retrival";
$password = $_POST['password'];
$username= $_POST['username'];
$message = "This message has been sent to you because a form was filled out saying you've forgotten your password.
Your username:$username
Your new password:$password
click here to confirm the changes."
Mail($to, $subj, $message);
?>

View File

@ -0,0 +1,6 @@
<form method=post action="fgot2.php">
Username: <input name="username" value="" size="10"><p>
Email: <input name="email" value="" size="10"><p></p><br>
Password: <input type="password" name="password"></br>
<input type="Submit" value="Submit">
</form>