Home >Backend Development >PHP Tutorial >Unable to obtain file information when uploading in php

Unable to obtain file information when uploading in php

WBOY
WBOYOriginal
2016-09-15 11:15:051720browse

I use ajax to upload files to Php. All files within the operating range of the Php file size can be obtained. However, if I upload a 300M file, the PHP side cannot obtain anything. The print return information is as follows:
array( 0) {}
No Properties

How can we obtain file information or judge the file size without modifying the upload size of various configuration files such as PHP and browsers? Because I can’t get the files here, let alone determine the file size, please give me some advice!

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