简体   繁体   中英

PHP upload_max_filesize

How can you set upload_max_filesize to no limit?

Could you say upload_max_filesize = -1 (As you can with other things)?

Not that I know of, and why would you? Your server's memory will thank you for not doing that. And why allow a user to upload a "file" that will fill your server.

Its based on the maximum value of the POST you can get.

post_max_size

Might also need to set the memory limit.

If its too large, it can be abused.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM