in reply to A very simple userid/password check
There's a nasty bug in this line of code:
if ($NotFound=="false") { [download]
You should compare strings using eq, not ==. As it stands, this expression is always true.