Create($_SESSION["login_uid"],$_SESSION["login_upw"],$apiRtn); if($rtn=="OK"){ $rtn=$wmgame->Forward($_SESSION["login_uid"],$_SESSION["login_upw"],$redirectURL,$output); if($rtn=="OK"){ $historydbobj->addGamePlayHistory($_SESSION["login_uid"],"WM","7"); header("Location: ".$redirectURL); } else{ echo "登入失敗"; } } else{ $logger->error("wmplay.php WM create account fail: ".$apiRtn); echo "遊戲暫時無法進入"; } ?>