PHPのリクエスト確認

講師の仕事で<form>タグの動作確認用に作成したものです。
せっかくなので公開します。

サンプル入力欄

Param1
Param2
Param3

使い方

次の様なフォームを作成してください。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    <table>
        <tr>
            <td>Param1</td>
            <td><input type="text" name="param1"></td>
        </tr>
        <tr>
            <td>Param2</td>
            <td><input type="text" name="param2"></td>
        </tr>
        <tr>
            <td>Param3</td>
            <td><input type="text" name="param3"></td>
        </tr>
    </table>
    <button type="submit">送信</button><br>
</form>
<form>タグのactionは「http://sw-logic.com/TestBed/PhpRequestTester/get_request.php」を指定してください。
methodは何を指定しても構いませんが、GETとPOSTの場合だけ送信パラメータと値を表示します。