Video uploading problems

Source: Internet
Author: User
Why can't I use & nbsp; $ _ FILES ['filedata'] ['tmp _ name'] to retrieve the video of the uploaded file, however, you can obtain and upload the image files. what is going on? & nbsp; please kindly advise. thank you. you are in a hurry! Video Upload problems
Why can't I use $ _ FILES ['filedata'] ['tmp _ name'] to retrieve the video of the uploaded file? this will cause the upload to fail, but the file for obtaining the image can be obtained, you can upload the file. what is going on? please give me some advice. thank you. you are in a hurry! Share:
------ Solution --------------------
How big is your video file?
Print_r ($ _ FILES); // Paste the result
------ Solution --------------------
Let's take a look at $ _ FILES ['filedata'] ['error']. only 0 indicates that the upload is successful.
If the value is not equal to 0, check the manual for an error description.
------ Solution --------------------
What is your post_max_size and memory_limit?
------ Solution --------------------
After the change, will the server be restarted?
Print_r ($ _ FILES); // Paste the result
------ Solution --------------------
What about upload_max_filesize?

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.