Password Retrieval Script menu

User Tag List

Results 1 to 4 of 4
  1. #1
    flickcorp's Avatar Member
    Reputation
    65
    Join Date
    Aug 2008
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Password Retrieval Script

    Ok I have been working on this script and I have came across a snag. It seems to always goto message delivery failed can someone point me in the right direction on what I did wrong or where the error is. Thanks in advance.

    Code:
    <?php
    
    $h = "HOST";
    $u = "USER";
    $p = "PASSWORD";
    $d = "LOGON";
    $s = "Password Retrieval";
    $i = $_POST['email'];
    
    if( !isset($i) )
    {
    	print '<form action="retreivepass.php" method="post">
    			
    			<table><tr><td>Email:
    			</td><td><input type="text" name="email" maxlength="32">
    			</td></tr></table> 
          
          			<input type="submit" value="Submit">		
    	</form>';
    }
    else
    {
    @mysql_connect($h, $u, $p) or die("Unable to connect to server.");
    @mysql_select_db($d) or die("Unable to connect to database.");  
    
    $o = @mysql_query("SELECT `login`,`password`,`email` FROM `accounts` WHERE `email` LIKE ".$i);
    $r = @mysql_fetch_assoc($o);
    $name = $r['login'];
    $email = $r['email'];
    $pass = $r['password'];
    
    $b = $name.',\n\nYour password on the account is <b>'.$pass.'</b>\n\nThankYou,\nDPS-WoW';
    
    if (mail($email, $s, $b)) 
    {
      echo("<p>Message successfully sent!</p>");
    } 
    else 
    {
      echo("<p>Message delivery failed...</p>");
    }
    }
    ?>

    Password Retrieval Script
  2. #2
    flickcorp's Avatar Member
    Reputation
    65
    Join Date
    Aug 2008
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bumpity bump bump

  3. #3
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Uhm well, i can't help a lot of why it ain't doing what its supposed to, however, you know that most passwords gets encrypted from registrations pages?, then they'll end up with their encrypted password, which they can do close to nothing with ;P.. you gotta make a way to first decrypt it^^
    [/COLOR]

  4. #4
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did u set up the SMTP options?

Similar Threads

  1. Most Popular Password Change Script
    By cnoodle in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-05-2009, 09:48 PM
  2. [REQ] Password Change PHP Script [REQ]
    By GraziServers in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 01-23-2009, 04:44 PM
All times are GMT -5. The time now is 11:48 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search