! ReadFile download local server Test no problem, but upload to the space server is not recognized file size

Source: Internet
Author: User
Tags readfile
Help! ReadFile download local server Test no problem, but upload to the space server is unable to identify the size of the file, I novice, but also look master pointing twos!
 
  
 
  
 
  
 
  


Reply to discussion (solution)

Is the path right? Please take a look.

$FileFile? This $filefile is a get or post.
Most servers do not turn on automatic conversion of request parameters into variables.
Just try it with $_get[' filefile ' or $_post[' filefile ')

And you, $row, this variable is useless.
It is estimated that the file variable is obtained in $row ...

Is the path right? Please take a look.


Local test can be downloaded, path is not wrong, direct input path can also be downloaded

Can the local path and server path be the same?

Can the local path and server path be the same?


Thanks to reply, the problem does appear on the $filefile, the parameters can not be converted, according to the second floor prompt with Get method has been solved!!!

$FileFile? This $filefile is a get or post.
Most servers do not turn on automatic conversion of request parameters into variables.
Just try it with $_get[' filefile ' or $_post[' filefile ')


Thanks to reply, is $filefile parameter conversion problem, space server can not automatically convert parameters, has been solved with get method, thank you!!!
  • 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.