Annotation of embedaddon/php/tests/basic/enable_post_data_reading_02.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: enable_post_data_reading: rfc1867
        !             3: --INI--
        !             4: enable_post_data_reading=0
        !             5: --POST_RAW--
        !             6: Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
        !             7: -----------------------------20896060251896012921717172737
        !             8: Content-Disposition: form-data; name="file1"; filename="file1.txt"
        !             9: Content-Type: text/plain-file
        !            10: 
        !            11: 1
        !            12: -----------------------------20896060251896012921717172737--
        !            13: --FILE--
        !            14: <?php
        !            15: var_dump($_FILES);
        !            16: var_dump($_POST);
        !            17: var_dump(file_get_contents("php://input"));
        !            18: --EXPECTF--
        !            19: array(0) {
        !            20: }
        !            21: array(0) {
        !            22: }
        !            23: string(%d) "-----------------------------20896060251896012921717172737
        !            24: Content-Disposition: form-data; name="file1"; filename="file1.txt"
        !            25: Content-Type: text/plain-file
        !            26: 
        !            27: 1
        !            28: -----------------------------20896060251896012921717172737--"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>