Rev 3 | Rev 47 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*QBPWCF, Quick Build PHP website Component base on Fedora Linux.Copyright (C) 2015~2025 Min-Jhin,ChenThis file is part of QBPWCF.QBPWCF is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.QBPWCF is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with QBPWCF. If not, see <http://www.gnu.org/licenses/>.*/#頁面說明:#負責將其它類別匯入到該檔案裏面,這樣撰寫網頁的時候就只需要將此檔案匯入即可使用所有的類別函式#該檔案,適用於存取遠端SOAP服務。#使用方法:/*#只要匯入當前目錄底下的 allInOneForSOAP.php 即可使用各式類別方法。#匯入的範例:<?php#使用命名空間,請務必指派爲 qbpwcfnamespace qbpwcf;#匯入外部套件,檔案位置請依照需求去修改require_once("allInOne.php");#以下爲你的程式...?>*/#指派命名空間namespace qbpwcf;#如果尚未取得 lib pathif(!isset($folderOfUsrLib)){#儲存要執行的指令$cmd="php -f ".escapeshellarg(pathinfo(__FILE__)["dirname"]."/../../bin/libexec/folderOfUsrLib.php");#取得 lib pathexec($cmd,$output,$status);#如果執行失敗if($status!==0){#debugvar_dump($cmd,$ouput,$status);#結束執行,回傳shell 1.exit(1);}#if end#儲存lib path$folderOfUsrLib=$output[0];}#if end#匯入自建的php類別檔require_once("amazon.php"); #跟 amazon 互動的類別require_once("analyse.php"); #跟問卷整理分析有關的類別require_once("app.php"); #讓網頁變得更行動與app化require_once("autoService.php"); #讓網頁可以管理系統的自動化服務require_once("arrays.php"); #跟陣列有關的方法require_once("authenticate.php"); #裏面包含跟驗證有關的功能require_once("bigbluebutton.php"); #big blue button的應用require_once("canvas.php"); #canvas 的應用require_once("catchWebContent.php"); #包含可以抓取網頁內容的功能require_once("chartJS.php"); #繪製圖表的jsrequire_once("cmd.php"); #跟命令列有關的功能require_once("config.php"); #用於改變php執行環境的類別require_once("css.php"); #裏面包含設定css樣式的功能,網頁美觀就靠它了。require_once("csv.php"); #跟csv檔案有關的功能require_once("csInformation.php"); #裏面包含取得用戶、伺服端資訊的功能。#require_once("communication.php"); #網路通訊相關功能,開發中...require_once("ckEditor.php"); #ckeditor的相關應用require_once("dataTable.php"); #將資料表的資料呈現出來並附上操作選項的設置require_once("db.php"); #裏面包含跟資料庫操作有關的功能require_once("external.php"); #執行外部程式require_once("exam.php"); #包含跟測驗有關的功能require_once("fb.php"); #裏面包含facebook提供的api服務require_once("fileAccess.php"); #裏面包含檔案讀、寫的功能require_once("flash.php"); #裏面包含嵌入flash到網頁會用到的功能require_once("form.php"); #裏面包含表單的設計、傳送、接收與跟處理上傳檔案有關的功能require_once("fuse.php"); #包含fuse的使用(ftp,sftp,glusterfs...)require_once("frame.php"); #裏面包含 iframe 的設置功能require_once("googleMap.php"); #裡面包含 googleMap 的應用require_once("header.php"); #裏面包含轉址、網頁編碼、檔案下載、網頁資訊等設定功能require_once("hive.php"); #連線到hiveServer進行操作require_once("html.php"); #管理網頁內容的功能require_once("img.php"); #裏面關於在網頁嵌入圖片、與繪圖的功能require_once("javaScript.php"); #一些javaScript函式、語法可以參考require_once("jquery.php"); #javascript的函式庫,提供較易使用的方式require_once("jwt.php"); #提供 jwt token 的應用require_once("libreoffice.php"); #提供 libreoffice 相關的應用require_once("line.php"); # 提供 line 的相關應用require_once("link.php"); #裏面包含跟超連結有關的功能require_once("logs.php"); #跟log相關的功能require_once("mail.php"); #跟寄信有關的功能require_once("maintain.php"); #跟維護有關的類別require_once("math.php"); #裏面包含跟數學運算有關的功能require_once("od.php"); #跟open document有關的功能require_once("parser.php"); #跟解析內容相關的功能.require_once("phpLib.php"); #跟php函式庫管理有關的類別require_once("qemu.php"); #跟qemu有關的功能require_once("qrCode.php"); #裏面包含qrCode的功能require_once("R.php"); #用於統計與報表產生的套件require_once("record.php"); #用於記錄資訊的套件功能require_once("session.php"); #用於管理session的功能require_once("search.php"); #裏面包含跟搜尋有關的功能require_once("security.php"); #裏面包含跟保護製作權有關的功能require_once("soap.php"); #webService建構、存取的相關功能require_once("sock.php"); #unix domain socketrequire_once("sound.php"); #裏面包含嵌入音樂、聲音、語音到網頁的功能require_once("stop.php"); #跟程式中止有關的功能require_once("stringProcess.php"); #裏面包含字串處理的功能require_once("tab.php"); #提供建立tab的功能require_once("text.php"); #提供文字顯示的功能require_once("table.php"); #裏面包含建立表格的功能require_once("threads.php"); #提供多執行序功能require_once("time.php"); #裏面包含關於跟時鐘、期間限定有關的功能require_once("variableCheck.php"); #變數檢查require_once("video.php"); #裏面包含跟嵌入影片到網頁有關的功能require_once("webSock.php"); #裡面包含web socket的應用require_once("xml.php"); #裏面包含xml資料的截取功能require_once("zerossl.php"); #裡面包含應用zerossl提供的服務#匯入全域的設定檔require_once(pathinfo(__FILE__)["dirname"]."/../../../etc/qbpwcf/allInOneConfig.php");#覆蓋資料庫連結用的資訊#$dbAddress="localhost";#資料庫的位置#$dbPort="3306";#資料庫的 tcp port#$dbAccount="root";#資料庫帳號#$dbPassword="";#資料庫密碼#$dbName="test";#資料庫名稱#定義常數變數,bbb service urldefine("bbbUrl",$bbbUrl);#定義常數變數,bbb service secretdefine("bbbSecret",$bbbSecret);#定義資料庫系統的使用密碼define("dbSecret",$dbSecret);#定義 qbpwcf unix domain socket pathdefine("qbpwcf_usock_path",$qbpwcf_usock_path);#定義 Zero SSL API access keydefine("zeroSSLapiKey",$zeroSSLapiKey);#定義供系統寄送信件的email帳號define("systemMailAcct",$systemMailAcct);#定義供系統寄送信件的email密碼define("systemMailPass",$systemMailPass);?>