Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.19 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Should I store passwords using php serialize instead of using database?
  2. if(sha1($_POST['password']) == "8cb2237d0679ca88db6464eac60da96345513964") {
  3.     //success
  4. } else {
  5.     //failure
  6. }