Ok, so I copied EVERYTHING (including the database) off of the download at mediafire, and I am still having a problem where it converts the password into a 32 char string, but it doesn't change it back? First of all, what should I post as far as code, and second, anyone else had this problem?
Thanks!
Strange login problem...[resolved]
Strange login problem...[resolved]
_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
Re: Strange login problem...
It`s an MD5 hash I suppose. You can`t change it back, it`s a hash. The whole reason to hash passwords is so they won`t show up in your database as plain text.
When you check the password on login, you hash the password, and check the hashed version against the hash in the database, that`s how a log in works.
When you check the password on login, you hash the password, and check the hashed version against the hash in the database, that`s how a log in works.
Re: Strange login problem...
So then what could be wrong? I suppose I could just take the hashing off, but I don't understand what could be going wrong, other than it doesn't change it to hash when you try to login...
_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
Re: Strange login problem...
On your login page, is there a md5() on the $password variable? If so, then hashing is not the problem. Try running some debug options, check to see where it goes wrong, if PHP throws an error somewhere. If not, try echoing out where the script is coming, where it branches et cetera. Debugging PHP sucks, I know, but you`ll get used to it after a while.
Re: Strange login problem...
Ok, I actually figured it out, but I actually forgot what it was, since I had to leave as soon as I fixed it. It works now, though! I am currently adding color to all of the stats.
_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.