Annotation of embedaddon/php/sapi/tests/test007.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Multipart Form POST Data, incorrect content length
        !             3: --HEADERS--
        !             4: return <<<END
        !             5: Content-Type=multipart/form-data; boundary=---------------------------240723202011929
        !             6: Content-Length=100
        !             7: END;
        !             8: --POST--
        !             9: -----------------------------240723202011929
        !            10: Content-Disposition: form-data; name="entry"
        !            11: 
        !            12: entry box
        !            13: -----------------------------240723202011929
        !            14: Content-Disposition: form-data; name="password"
        !            15: 
        !            16: password box
        !            17: -----------------------------240723202011929
        !            18: Content-Disposition: form-data; name="radio1"
        !            19: 
        !            20: test 1
        !            21: -----------------------------240723202011929
        !            22: Content-Disposition: form-data; name="checkbox1"
        !            23: 
        !            24: test 1
        !            25: -----------------------------240723202011929
        !            26: Content-Disposition: form-data; name="choices"
        !            27: 
        !            28: Choice 1
        !            29: -----------------------------240723202011929
        !            30: Content-Disposition: form-data; name="choices"
        !            31: 
        !            32: Choice 2
        !            33: -----------------------------240723202011929
        !            34: Content-Disposition: form-data; name="file"; filename="info.php"
        !            35: Content-Type: application/octet-stream
        !            36: 
        !            37: <?php
        !            38: phpinfo();
        !            39: ?>
        !            40: -----------------------------240723202011929--
        !            41: 
        !            42: --FILE--
        !            43: <?php 
        !            44: print @$_POST['choices'];
        !            45: ?>
        !            46: --EXPECT--

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