<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                data://協議必須雙在on才能正常使用; * allow\_url\_fopen :on * allow\_url\_include:on **封裝協議摘要** | 屬性 | 支持 | | --- | --- | | 受限于[allow\_url\_fopen](https://www.php.net/manual/zh/filesystem.configuration.php#ini.allow-url-fopen) | No | | 受限于[allow\_url\_include](https://www.php.net/manual/zh/filesystem.configuration.php#ini.allow-url-include) | Yes | | 允許讀取 | Yes | | 允許寫入 | No | | 允許追加 | No | | 允許同時讀寫 | No | | 支持[stat()](https://www.php.net/manual/zh/function.stat.php) | No | | 支持[unlink()](https://www.php.net/manual/zh/function.unlink.php) | No | | 支持[rename()](https://www.php.net/manual/zh/function.rename.php) | No | | 支持[mkdir()](https://www.php.net/manual/zh/function.mkdir.php) | No | | 支持[rmdir()](https://www.php.net/manual/zh/function.rmdir.php) | No | ``` http://127.0.0.1/code/1.php?file=data://text/plain,<?php phpinfo()?> http://127.0.0.1/code/1.php?file=data://text/plain;base64,PD9waHAgcGhwaW5mbygpPz4= ``` ![](https://img.kancloud.cn/ce/d4/ced4c03d787701e49fc6c199ce1a670f_1004x220.png) ![](https://img.kancloud.cn/64/d9/64d98207863b6ad483f97006d6124cf5_949x271.png) 獲取媒體類型 ``` $fp = fopen('data://text/plain;base64,', 'r'); $meta = stream_get_meta_data($fp); // 打印 "text/plain" echo $meta['mediatype']; ``` 不要直接傳輸原數據,特別是在數據中存在+時,因為PHP會自動對傳遞的字符串中的所有實體進行urldecode,+在此步驟時丟失我么需要urlencode()或者base64\_encode()轉碼在傳輸 ``` $data='Günther says: 1+1 is 2, 10%40 is 20.'; $fp = fopen('data:text/plain,'.urlencode($data), 'rb'); // urlencoded data echostream_get_contents($fp); $fp = fopen('data:text/plain;base64,'.base64_encode($data), 'rb'); // base64 encoded data echostream_get_contents($fp); ```
                  <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>

                              哎呀哎呀视频在线观看