Home  >  Article  >  Backend Development  >  How to set the size of uploaded files in php

How to set the size of uploaded files in php

WJ
WJOriginal
2020-06-01 16:46:302533browse

How to set the size of uploaded files in php

How to set the file upload size in php:

First open the php.ini configuration file and find the line "upload_max_filesize = 2M"

How to set the size of uploaded files in php

Then modify the size value to be uploaded.

Related references:php中文网

The above is the detailed content of How to set the size of uploaded files in php. For more information, please follow other related articles on the PHP Chinese website!

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