How to apply password and encrypt functions in MySQL on PHP?
Moderator: General Moderators
How to apply password and encrypt functions in MySQL on PHP?
Can anyone do my favour? I'm very stuck here..!!! pls.. Miouw......!! Miaauw.....!(cat voice) 
- Lord Sauron
- Forum Commoner
- Posts: 85
- Joined: Tue Apr 20, 2004 5:53 am
- Location: Tilburg, NL
Several ways
There are several ways to do so.
Encrypt the passwords in your database. Or you could even right your own encrypting system if you know something of math. Or even both.
And even if you did so, you must take precaution for e.g. sql injection.
So please, be a little more specific with your question.
Encrypt the passwords in your database. Or you could even right your own encrypting system if you know something of math. Or even both.
And even if you did so, you must take precaution for e.g. sql injection.
So please, be a little more specific with your question.
Ok, recently..after looked at mySQL database, i found some function for it.. Before, I just key in the data without thinking about it security or something more secure. Then after press insert button or toolbar, then insert the data manually, (u can try it by phpmyadmin or etc) then there are about 4 columns. One of them is function column. Then after i clicked dropdown itself, i found so many stuffs include password and encrypt. I'm very interested to know it. But how could i apply it in my programming...?