Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
Photo
- - - - -

Phpmyadmin


1 reply to this topic

#1 bhupinder

bhupinder

    Member [ Level 1 ]

  • Members
  • 42 posts

Posted 03 February 2008 - 08:07 PM

Well on my game i dont have the change pass or ID # from my admin panel...so i was wondering if its possible to do that on PHPmyadmin..i looked at userpass...and it showed numbers and letters but no password words ex:)24h7t6d8er7cv and i dont know how to change that also how do u change the ID so can someone help me...thanks

#2 Eggie

Eggie

    Premium Member

  • [HOSTED]
  • 263 posts
  • Gender:Male
  • Location:Zagreb/Croatia
  • myCENTs:2.27

Posted 03 February 2008 - 09:38 PM

those passwords are encoded so i think that you can't modify them from phpmyadmin like you want...you need to do something and i will find out what ;)
Edit:
i have found out that
md5()
function returns hashed version of your password and puts it into your database...that's what the problem most probably...
so you need to hash your password you want to replace it with or remove md5() from your register script(which is not good) if you needed that information because you are creating a register script,put md5()function into it
do it like this:
$db_pass5 = md5($new_pass);
mysql_query("insert into players (pass) values(''$db_pass5)") or die("Could not register.. trouble with adding you to the players table.");
that should do it...
i hope i helped

Edited by Eggie, 03 February 2008 - 09:55 PM.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users