mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
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:
parent
621b72122e
commit
c5f4467b9d
12
src/messenger/webim/fgot2.php
Normal file
12
src/messenger/webim/fgot2.php
Normal 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);
|
||||
?>
|
6
src/messenger/webim/forgot.php
Normal file
6
src/messenger/webim/forgot.php
Normal 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>
|
Loading…
Reference in New Issue
Block a user