<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 功能強大 支持多語言、二開方便! 廣告
                [TOC] >[success] # 表單形式get方式提交數據補充 <br/> ~~~ 1. 'get'請求多個參數拼接方式如下: 'http:xxxx.com/getData.php?name=呵呵噠&name2=奧利給干了' 2. 'get'請求的特點: a.'數據'的拼接在'url'中 b.'數據'的'安全性'不好 c.'數據'的'長度'問題,理論上說'url'的長度是可以'任意修改'的,有一些'瀏覽器'會限制'url'長度,有一些'服務器'長度太長的'url'直接就屏蔽了 d. '測試方便',可以直接在瀏覽器窗口上看到接口參數 ~~~ <br/> >[success] ## 前端代碼部分 <br/> index.html <br/> ~~~ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>get提交數據</title> </head> <body> <form action="./getData.php" method="GET"> <input name="name" type="text"> <input name="name2" type="text"> <input type="submit"> </form> </body> </html> ~~~ <br/> >[success] ## 后端代碼部分 <br/> getData.php <br/> ~~~ <?php // 設置頁面編碼格式 header('content-type:text/html;charset=utf-8'); $nameArr = $_GET ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>title</title> </head> <body> <h1>我的名字是<?php echo $nameArr['name'] ?></h1> <h1>我的名字是<?php echo $nameArr['name2'] ?></h1> </body> </html> ~~~
                  <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>

                              哎呀哎呀视频在线观看