Create($_SESSION["login_uid"],$output); if($rtn=="OK") { $rtn=$bingogame->Forward($_SESSION["login_uid"],$redirectURL,$output); //echo "系統維護中"; //exit; if($rtn=="OK") { $historydbobj->addGamePlayHistory($_SESSION["login_uid"],"Bingo","4"); $url=$redirectURL; $arr = array('success' => "1","url"=>$url); header("Location: ".$url); } else { $logger->error("ws_ajax.php bingogamePlay forward fail: ".$output); $arr = array('success' => "0", 'msg' => "遊戲暫時無法進入"); echo "遊戲暫時無法進入" ; } } else{ $logger->error("ws_ajax.php dtgamePlay create fail: ".$output); $arr = array('success' => "0", 'msg' => "遊戲暫時無法進入"); echo "建立帳號失敗,遊戲暫時無法進入" ; } } ?>