How to set the file upload size in php:
First open the php.ini configuration file and find the line "upload_max_filesize = 2M"
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!