When PHP uploads the apk file, the server $_files is empty?

Source: Internet
Author: User
Keywords Php
Tags php error log
    
  
          1) php.ini里上传设置限制改成了20M,排除文件过大的原因。服务器端print_r($_FILES),结果为空。

Reply content:

    
  
          1) php.ini里上传设置限制改成了20M,排除文件过大的原因。服务器端print_r($_FILES),结果为空。

Check the PHP error log, is not the file too large than the server limit

Supposedly shouldn't, test the upload and. apk files of the same size. zip file to see if it succeeds? If there is no problem with. zip, see if uploading an. exe file will succeed. If the. exe cannot be uploaded, there should be a security setting that filters the file type.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.