Read POST request parameters properly in PHP for request more than 1450 B?

半世苍凉 提交于 2019-12-01 06:26:19

As I just read in the manual, raw post data is not available with enctype="multipart/form-data" but can you can also try with

$fp = fopen('php://stdin', 'rb');

Please pay attention to the "b" flag.

Also, make sure that always_populate_post_data=On in your php.ini

Is there anything in the $_FILES variable?

Is there a MAX_FILE_SIZE element in the submitted form?

What are the values here?

echo 'post_max_size = ' . ini_get('post_max_size') . "\n";
echo 'upload_max_filesize = ' . ini_get('upload_max_filesize') . "\n";
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!