Authenticating a User through Login |
[eluser]Gwarrior[/eluser]
Referring to this Thread, I suppose I am completely unable to authenticate a login. I mean, it seemed pretty simple - just query the DB for password where username = suppliedusername, then compare the requested password with the submitted password, but that doesn't seem to be working, at all. Can someone just lay it out for me, how I am supposed to authenticate a user (I have used PHP for 2 years while NEVER using sessions/cookies for some reason)? Either in layman's, or code-wise. p.s. Below is my code: Controller: Code: <?php Model: Code: <?php For some reason, it works, but just gives me failure no matter what... |
Messages In This Thread |
Authenticating a User through Login - by El Forum - 10-19-2008, 05:24 PM
Authenticating a User through Login - by El Forum - 10-20-2008, 12:51 AM
Authenticating a User through Login - by El Forum - 10-20-2008, 01:57 AM
|