Jump to content

Archived

This topic is now archived and is closed to further replies.

AbydosGater

database password structure in phpmyadmin

Recommended Posts

Hey, i was just wondering for my users table in my database when i go into phpmyadmin and set the structure for the password field to password, it encrypts all the passwords in the table,
But what method of decryption do i use for the script that needs the password? md5, base_64??


Thanks

Share this post


Link to post
Share on other sites
you would refer to it in your query as for example:

[code]
$user = 'someuser';
$pass = 'somepassword';
$sql = "select * from table where user='$user'  and pass = password('$pass')";
[/code]

and there is no way to 'decrypt' it and show it as normal lettering.

Share this post


Link to post
Share on other sites

×

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.