| [ PHPXref.com ] | [ Generated: Sun Jul 20 16:49:42 2008 ] | [ Chipmunk Forum 1.3 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 print "<link rel='stylesheet' href='style.css' type='text/css'>"; 3 include 'admin/connect.php'; 4 include 'admin/var.php'; 5 if(isset($_POST['submit'])) 6 { 7 8 $email=$_POST['email']; 9 $getinfo="SELECT * from b_users where email='$email'"; 10 $getinfo2=mysql_query($getinfo) or die("Could not get info"); 11 $getinfo3=mysql_fetch_array($getinfo2); 12 if($getinfo3) 13 { 14 mail("$email","Forum password change--step one","Please paste the following link in your browser to reset your forum password $boardpath/changepassword.php?ID=$getinfo3[userID]&keyed=$getinfo3[password]"); 15 print "Instruction for changing your password have been mailed to you."; 16 } 17 else 18 { 19 print "<table class='maintable'>"; 20 print "<tr class='headline'><td><center>Retrieve Password</center></td></tr>"; 21 print "<tr class='forumrow'><td><center>"; 22 print "There is not a user with that e-mail address"; 23 print "</center></td></tr></table>"; 24 } 25 26 } 27 else 28 { 29 print "<table class='maintable'>"; 30 print "<tr class='headline'><td><center>Retrieve Password</center></td></tr>"; 31 print "<tr class='forumrow'><td><center>"; 32 print "<table border='0'>"; 33 print "<form method='POST' action='getpassword.php'>"; 34 print "<tr class='forumrow'><td>Your e-mail:</td><td><input type='text' name='email' length='15'></td></tr>"; 35 print "<tr class='forumrow'><td></td><td><input type='submit' name='submit' value='submit'></td></tr></table>"; 36 print "</td></tr></table>"; 37 } 38 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |