Can you encrypt using php?

I have a phpbb forum and I would like to use the same passwords and usernames for another part of the website. They have MD5 Hash Encryption, so can i use php to encrpyt to MD5 Hash or what else could i use.

I am not exactly sure I follow what you mean…

You can use MD5(’$password’) in a query statement.

Also, after doing some checking… There is MD5() function built into php, I am unsure of it works, but you check php.net you can find more information on it. Not sure if it will help you, but from what I can tell it looks like it might be what you need.

kk cheers, managed to do what i wanted.

Sponsor our Newsletter | Privacy Policy | Terms of Service