<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                * 碼云倉庫:[https://gitee.com/zhqings/zqphp](https://gitee.com/zhqings/zqphp) * zqphp結合workerman從4.x版本開發。 * 支持Workerman Swoole(開發中) Apache Nginx iis Cli 訪問 * 如要支持Workerman訪問,項目內不能使用exit,die函數,可以使用方法`come($Data=null)`方法代替 * PHP版本要求:`php-7.1`或更高版本 * [WorkerMan的特性](http://doc.workerman.net/getting-started/feature.html) ***** * [ ] 創建index.php文件 ``` <?php //引加文件 require __DIR__ . '/zqphp/AutoLoad.php'; $Obj = new \zqphp\AutoLoad(__DIR__ . '/application'); $Obj->Run('8080'); ``` ***** * 創建文件application/Lib/index.php ``` <?php class index{ public function main() { echo 'Hello'; } } ``` ***** * [ ] Workermany啟動 php index.php start 訪問 `http://127.0.0.1:8080/index/main` * [ ] Cli訪問 `php index.php index/main` * [ ] Apache Nginx IIS 沒有偽靜態也可以通過訪問 `/index.php/index/main` * [ ] Apache Nginx IIS 偽靜態 訪問` /index/main` ***** Apache偽靜態(`.htaccess`) ``` <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,PT,L] </IfModule> ``` ***** Nginx偽靜態 ``` if (!-d $request_filename){ set $rule_0 1$rule_0; } if (!-f $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /index.php last; } ``` ***** iis偽靜態(`web.config`) ``` <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="index" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true"/> </conditions> <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true"/> </rule> </rules> </rewrite> </system.webServer> </configuration> ``` ***** * [ ] 目錄結構 ``` zqphp 框架目錄(此目錄下的類取消自動加載) ├─Config 配置目錄 │ ├─Config.php 默認配置文件 │ ├─ErrInfo.php 自定義報錯內容 │ ├─Mime.Types 默認Mime類型 ├─Events 擴展目錄(此目錄的類使用時會自動加載) │ ├─GatewayClient GatewayClient │ ├─GatewayWorker GatewayWorker框架 │ ├─Medoo Medoo Mysql │ ├─think 第三方從Thinkphp分離出來的Mysql(zqphpMysql正在開發中) │ ├─Workerman Workerman框架 │ ├─zqphp zqphp舊版本類 │ ├─Cookie.php Cookie類 │ ├─Frame.php 框架函數類 │ ├─GlobalVariables.php 全局變量類 │ ├─Request.php 請求類 │ ├─Response.php 響應類 │ ├─Session.php Session類 │ ├─TempLets.php TempLets模板類 ├─Public 框架方法目錄(此目錄文件會自動加載) │ ├─FrameWay.php 框架函數(框架類中調出來的) │ ├─ResponseWay.php 響應函數(響應類中調出來的) ├─AutoLoad.php 框架主加載文件 ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看