同じname属性のvalue

[html]

名前:
年齢:

[/html]
に対して,

test.php
[php]
< ?php print readfile("php://input"); ?>
[/php]

とか書くと、
[php]
test.php ———- xxx=firstValue&xxx=secondValue30
[/php]
と出力される

最後の30っていうのはバイト数かな。

参考 : http://q.hatena.ne.jp/1150874088

Leave a Reply