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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # [**支持的協議和封裝協議**](https://www.php.net/manual/zh/wrappers.php) PHP 帶有很多內置 URL 風格的封裝協議,可用于類似[fopen()](https://www.php.net/manual/zh/function.fopen.php)、[copy()](https://www.php.net/manual/zh/function.copy.php)、[file\_exists()](https://www.php.net/manual/zh/function.file-exists.php)和[filesize()](https://www.php.net/manual/zh/function.filesize.php)的文件系統函數。 除了這些封裝協議,還能通過[stream\_wrapper\_register()](https://www.php.net/manual/zh/function.stream-wrapper-register.php)來注冊自定義的封裝協議 * [file://](https://www.php.net/manual/zh/wrappers.file.php)— 訪問本地文件系統 * [http://](https://www.php.net/manual/zh/wrappers.http.php)— 訪問 HTTP(s) 網址 * [ftp://](https://www.php.net/manual/zh/wrappers.ftp.php)— 訪問 FTP(s) URLs * [php://](https://www.php.net/manual/zh/wrappers.php.php)— 訪問各個輸入/輸出流(I/O streams) * `php://input` 只讀信息流 當請求方式是post的,并且enctype不等于”multipart/form-data”時,可以使用php://input來獲取原始請求的數據 * 。。。查看:php://小節 * [zlib://](https://www.php.net/manual/zh/wrappers.compression.php)— 壓縮流 * [data://](https://www.php.net/manual/zh/wrappers.data.php)— 數據(RFC 2397) * [glob://](https://www.php.net/manual/zh/wrappers.glob.php)— 查找匹配的文件路徑模式 * [phar://](https://www.php.net/manual/zh/wrappers.phar.php)— PHP 歸檔 * [ssh2://](https://www.php.net/manual/zh/wrappers.ssh2.php)— Secure Shell 2 * [rar://](https://www.php.net/manual/zh/wrappers.rar.php)— RAR * [ogg://](https://www.php.net/manual/zh/wrappers.audio.php)— 音頻流 * [expect://](https://www.php.net/manual/zh/wrappers.expect.php)— 處理交互式的流 **PHP.ini** * allow\_url\_fopen :on 默認開啟 該選項為on便是激活了 URL 形式的 fopen 封裝協議使得可以訪問 URL 對象文件等。 * allow\_url\_include:off 默認關閉,該選項為on便是允許 包含URL 對象文件等 $HTTP_RAW_POST_DATA post原始數據,php5.6棄用,php7.0移除,不建議使用,請使用php://input代替 php://input是個可以訪問請求的原始數據的只讀流 ``` //將表單提交到服務端 <form action="" method="POST"> name: <input type="text" name="name" value="tom" /><br /> age:<input type="text" name="age" value="22" /><br /> <input type="submit" value="Submit" /> </form> //服務端使用file_get_contents獲取php://input內容 $content = file_get_contents("php://input"); echo $content; //輸出name=tom&age=22 parse_str($content), $_OUTPUT);//Array ( [name] => tom [age] => 22 ) ``` ``` <form action="" method="POST"> name: <input type="text" name="name" value="tom" /><br /> age:<input type="text" name="age" value="22" /><br /> <input type="submit" value="Submit" /> </form> <?php // 解析“PUT”請求的示例 parse_str(file_get_contents('php://input'), $_OUTPUT); // 結果 print_r($_OUTPUT);//Array ( [name] => tom [age] => 22 ) ```
                  <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>

                              哎呀哎呀视频在线观看