email pasword/forgrt the password

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

5 replies · 440 views · started 17 years ago · 1 min read

5 participants
poormaster23 Junior · 10 posts #1

can any 1 have? pls share with us im using wapdesire..😕

Anshul Senior · 296 posts #2
<?php
include 'admin/connect.php';
include 'admin/var.php';
if(isset($_POST['submit']))
{    
  print "<link rel='stylesheet' href='templates/default/style.css' type='text/css'>"; //chooses which template to display
  $email=$_POST['email'];
  $getinfo="SELECT * from b_users where email='$email'";
  $getinfo2=mysql_query($getinfo) or die("Could not get info");
  $getinfo3=mysql_fetch_array($getinfo2);
  if($getinfo3)
  {
     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]");   
     print "Instruction for changing your password have been mailed to you.";
  }
  else
  {
    print "<table class='maintable'>";
    print "<tr class='headline'><td><center>Retrieve Password</center></td></tr>";
    print "<tr class='forumrow'><td><center>";
    print "There is not a user with that e-mail address";
    print "</center></td></tr></table>";
  }
  
}
else
{
  print "<table class='maintable'>";
  print "<tr class='headline'><td><center>Retrieve Password</center></td></tr>";
  print "<tr class='forumrow'><td><center>";
  print "<table border='0'>";
  print "<form method='POST' action='getpassword.php'>";
  print "<tr class='forumrow'><td>Your e-mail:</td><td><input type='text' name='email' length='15'></td></tr>";
  print "<tr class='forumrow'><td></td><td><input type='submit' name='submit' value='submit'></td></tr></table>";
  print "</td></tr></table>";
}
?>

edit it according to your script 🙂

quiksilverX Developer · 208 posts #3

poormaster23 wrote: can any 1 have? pls share with us im using wapdesire..😕

if im not mistaken this code is in the mobilezones lava update script,if its not there then its probably in another lava edit as i had seen it b4. You will find the full script in the scripts forum.

External image (may be gone) click here to join blingywap.co.za http://blingywap.co.za External image (may be gone)

IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!

poormaster23 Junior · 10 posts #4

rko1 can u help me pls.. im using wapdesire

subzero Super moderator Fellow · 3,954 posts #5

All is done with lavalair no email sender that will send your info.

i made a script will send your password and login ...

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

djdevil89 Senior · 287 posts #6
$step1 = time();
$step2 = rand(0 ,247548);
$step3 = $step1 + $step2;

To regenerate a new password you can use this

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close