Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Phpmyadmin, I need help using PHPmyadmin
bhupinder
post Feb 3 2008, 08:07 PM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 5-January 08
Member No.: 27,390


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
Go to the top of the page
 
+Quote Post
Eggie
post Feb 3 2008, 09:38 PM
Post #2


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 177
Joined: 19-January 08
From: Zagreb/Croatia
Member No.: 27,735


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 smile.gif
Edit:
i have found out that
CODE
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:
CODE
$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

This post has been edited by Eggie: Feb 3 2008, 09:55 PM
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: