Jump to content


ChunkyMonkey

Member Since 07 Apr 2012
Offline Last Active Apr 07 2012 06:50 AM

Posts I've Made

In Topic: Store game data in MySQL database with async

07 April 2012 - 05:15 AM

Ha! Thank you!

I learned something Posted Image


I feel like this just happened:


Posted Image


In Topic: Store game data in MySQL database with async

07 April 2012 - 02:49 AM

I am not a PHP programmer so I am not asking this question in a snide way or trying to imply that you are not doing the correct / best thing.

I am asking this questions because in scripts I have used I have seen the password saved / checked in a different manor. Now maybe your way is better / faster/ more secure/ more correct, I don't know so I am asking.

My question is, why are you using $epword = crypt($pword,$salt); as opposed to just saving the MD5 check sum of the password and then when the user logs in, comparing the MD5 of the entered password with the stored MD5.

Again, please don't take this as an offence or a negative. This is simply about me learning more about PHP by asking questions about why you did what you did Posted Image.