檢視 Phpgrid主檔修正 的原始碼
←
Phpgrid主檔修正
跳至導覽
跳至搜尋
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
==ADODB5 UTF8 修正== <PHP> //phpGrid_Enterprise\conf.php define('PHPGRID_DB_TYPE', 'mssqlnative'); // database type //phpGrid_Enterprise\server\classes\cls_db.php case "mssqlnative": $this->db = ADONewConnection($this->dbType); //$this->db = ADONewConnection($this->dbType); // DSN connectivity through SQL Native Client 10.0 ODBC Driver //$dsn = $this->hostName.",Database=".$this->databaseName.";"; $this->db->Connect($this->hostName, $this->userName, $this->password,$this->databaseName); break; //phpGrid_Enterprise\server\adodb5\drivers\adodb-mssqlnative.inc.php $connectionInfo = $this->connectionInfo; $connectionInfo["Database"]=$argDatabasename; $connectionInfo["UID"]=$argUsername; $connectionInfo["PWD"]=$argPassword; $connectionInfo["CharacterSet"]='UTF-8'; //增加這一行 將字元改成 utf8 //這樣直接就可以秀出UTF8 而不用透過 ICONV 來轉換了 </PHP>
返回到「
Phpgrid主檔修正
」。
導覽選單
個人工具
建立帳號
登入
命名空間
頁面
討論
臺灣正體
視圖
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊