Home  >  Article  >  Backend Development  >  The length limit of $_GET $_POST parameters in php

The length limit of $_GET $_POST parameters in php

WBOY
WBOYOriginal
2016-07-25 09:03:092330browse
In PHP, you can modify the post data length limit through php.ini. You can modify POST_MAX_SIZE in PHP.INI and modify UPLOAD_MAX_FILESIZE to change the file upload size limit

In PHP, you can modify the post data length limit through php.ini.

You can modify POST_MAX_SIZE in PHP.INI and modify UPLOAD_MAX_FILESIZE to change the file upload size limit. Generally speaking, the value of POST_MAX_SIZE is larger than the value of UPLOAD_MAX_FILESIZE. Because other data may be POSTed during the file upload process.

In addition, you can modify MAX_INPUT_TIME to modify the time when the server accepts get, post, and cookie.



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn