email pasword/forgrt the password

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    email pasword/forgrt the password

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

    #2
    PHP Code:
    <?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

    Comment


      #3
      Originally posted by poormaster23 View Post
      can any 1 have? pls share with us im using wapdesire..:confused:
      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.
      Last edited by quiksilverX; 29.04.09, 19:48.

      click here to join blingywap.co.za
      http://blingywap.co.za


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

      Comment


        #4
        rko1 can u help me pls.. im using wapdesire

        Comment


          #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...
          _______
          Info & Tips
          php.net
          w3schools.com

          Comment


            #6
            PHP Code:
            $step1 time();
            $step2 rand(,247548);
            $step3 $step1 $step2
            To regenerate a new password you can use this

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

            Comment

            Working...
            X