LoginSignup
0
0

More than 3 years have passed since last update.

webarenaでubuntu その25

Posted at

概要

webarenaでubuntu18.04やってみた。
php7.2やってみた。
生postが、見たかった。

サンプルコード

<?php
    $stdin = fopen("php://input", "r");
    if (!$stdin)
    {
        print("ng!!");
    }
    while (!feof($stdin))
    {
        $buffer .= fgets($stdin, 10000);
    }
    fclose($stdin);
    print($buffer);
    print_r($_FILES);
    print("<br >");
    print_r($_POST);
    print("<br >");
?>
<FORM enctype="multipart/form-data" action="dump.php" method="post">
    m<br>
    <TEXTAREA name="m" wrap="off" cols="70" rows="1">0</TEXTAREA><BR>
    a<br>
    <TEXTAREA name="a" wrap="off" cols="70" rows="1">2</TEXTAREA><BR>
    <INPUT type="submit" value="send">
</FORM>

結果

仕様で、見れない。

Array ( ) 
Array ( [m] => 0 [a] => 2 ) 

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0