Home > Article > Backend Development > What should you pay attention to when uploading files in php
Tips: You can set the maximum value of allowed uploaded files through upload_max_filesize in php.ini. In addition, there is a post_max_size that can also be used to set the maximum form data allowed to be uploaded, which is the sum of various data in the form. Therefore, you can also control the maximum value of uploaded files by setting this field. However, it should be noted that the value of the latter must be greater than the former, because the former is part of the form data of the latter. |