Home > Backend Development > PHP Tutorial > What should you pay attention to when uploading files in php

What should you pay attention to when uploading files in php

WBOY
Release: 2016-07-25 08:57:46
Original
1068 people have browsed it
  1. Please upload attachments:

Copy code

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.



source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template