Menu

Resetting Passwords

Help
2001-08-01
2012-09-14
  • Mark Clements

    Mark Clements - 2001-08-01

    I cant find a way to reset lost/forgotten passwords without deleting the username???  Is it possible for users to reset their own passwords?

     
    • Franklin PIAT

      Franklin PIAT - 2001-08-06

      Use the following (also running here http://fpiat.multimania.com/hash.php\) to calculate md5 checksum, then update the value in the database.
      et voila !

      <HTML><BODY><p><BR>
      <?PHP
      $text = $HTTP_POST_VARS['text'];
      echo '<FORM NAME="any" ACTION="'.$PHP_SELF.'" METHOD=POST >';
      echo '<INPUT type="password" name="text" value='.$text.'>';
      echo '<INPUT type="submit" name="submit" value="calculate" >';
      echo '</FORM>';
      if ($text !='') {
          echo '</P>Text :<hr>';
          echo '<PRE>'.$text.'</PRE><HR>';
          echo 'MD5 HASH:<B>'.md5(stripslashes($text)).'</B>';
      }

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.