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

Unable to obtain file information when uploading in php

WBOY
Release: 2016-09-15 11:15:05
Original
1718 people have browsed it

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!

Related labels:
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