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

1.1     ! misho       1: --TEST--
        !             2: rfc1867 file_upload disabled
        !             3: --INI--
        !             4: file_uploads=0
        !             5: error_reporting=E_ALL&~E_NOTICE
        !             6: comment=debug builds show some additional E_NOTICE errors
        !             7: --POST_RAW--
        !             8: Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
        !             9: -----------------------------20896060251896012921717172737
        !            10: Content-Disposition: form-data; name="foo"
        !            11: 
        !            12: bar
        !            13: -----------------------------20896060251896012921717172737
        !            14: Content-Disposition: form-data; name="file1"; filename="file1.txt"
        !            15: Content-Type: text/plain-file1
        !            16: 
        !            17: 1
        !            18: -----------------------------20896060251896012921717172737
        !            19: Content-Disposition: form-data; name="bar"
        !            20: 
        !            21: foo
        !            22: -----------------------------20896060251896012921717172737--
        !            23: --FILE--
        !            24: <?php
        !            25: var_dump($_FILES);
        !            26: var_dump($_POST);
        !            27: ?>
        !            28: --EXPECTF--
        !            29: array(0) {
        !            30: }
        !            31: array(2) {
        !            32:   [%u|b%"foo"]=>
        !            33:   %unicode|string%(3) "bar"
        !            34:   [%u|b%"bar"]=>
        !            35:   %unicode|string%(3) "foo"
        !            36: }

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