Return to 032.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / basic |
1.1 ! misho 1: --TEST-- ! 2: Bug#18792 (no form variables after multipart/form-data) ! 3: --INI-- ! 4: file_uploads=1 ! 5: --POST_RAW-- ! 6: Content-Type: multipart/form-data; boundary=BVoyv, charset=iso-8859-1 ! 7: --BVoyv ! 8: Content-Disposition: form-data; name="data" ! 9: ! 10: abc ! 11: --BVoyv-- ! 12: --FILE-- ! 13: <?php ! 14: var_dump($_POST); ! 15: ?> ! 16: --EXPECT-- ! 17: array(1) { ! 18: ["data"]=> ! 19: string(3) "abc" ! 20: }