Jump to content

GunnDawg

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Everything posted by GunnDawg

  1. Nevermind I got it!
  2. Alright so I have this page that lists every user that is signed up. Next to each username is a Message Me! link that i want to link to the reply.php page and have it auto fill in the "TO" part of the message with the persons username. It works when I click reply from my inbox system, but not here. This is a snipet of the code, I know I am not doing it right, and thats why i ask. <table border="0" style="font-size: 12px; font-family: Tahoma; border: 1px solid black" bgcolor="#cccccc" width="256"> <tr> <td> <? echo $r['username']; ?> </td> <br> <td> <?php echo <a href ="mail/reply.php?to=".$r['username']."">Message Me!</a>; Go to <a href='options.php'>Profile options</a> </td> </tr> </table>
  3. Wait suddenly it works Thanks a ton, been scratching my head for a while now with this one. Much appreciated.
  4. ah ok, I was able to correct the password checking and made sure it got stored in MD5, but now my dang login page keeps telling me the new password is invalid The original password you create works fine when you log in, but when you change it (and yes the db updates it) and try to log in, then it no longer works. this is annoying.
  5. Its just a small learning experience, nothing I plan on making real serious. So what do you suggest i change in my code to make this store the md5 result rather than the password it self ?
  6. Alright so I have a site where you can register, log in, send emails (from user to user), upload an avatar image. I then decided to add a control panel to allow users to change their username and password. I managed to get the 'change username' part to work just fine, and figured I would have no trouble getting the 'change password' part to work as well. I am having a few issues with the code. First it wont MD5 encrypt it like my register script does, and second it doesnt check to make sure the password was typed correctly on the 'veryify password' field, it just goes ahead and changes the users password to the first password input box. So no encryption and no verify checking. Here is the code for changepw.php: http://pastebin.com/m5d898a8e
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.