Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.03 sec)
Validating a PHP login securely

This isn't working and I can't figure out why:

if($username !=$result['username'] || $password !=$result['password'])

{

print ("Wrong username or password error");

}

else

{

Do session stuff ...

}
Asked by:
JackFlash
378 points
 Report Abuse
 Share Page - Category: Programming - Tags: Validating a PHP login securely
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (0)



  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle