Quote:
if ($pass == $dbpass) {


Please, oh please, hash the frigging password before stashing it in the database.
_________________________
-- roger