members = mk_2dhash_from_file($this->usr_flds,$file) ; } //--------------------------------------------------------- // auth // -- 認証 //--------------------------------------------------------- function auth($id = "", $pass = "") { if($id == '' || $pass == ''){ return 1 ; } if($this->members[$id]["pass"] != $pass){ return 1 ; } $this->current_user = $id ; return 0 ; } //-------------------------------------------------- } ?>