SWFUpload Upload Failure Solver
if (Empty ($Filedata) | |!is_uploaded_file ($FILEDATA))
{
echo "Error:upload error!";
Exit (0);
}
Always stuck in this position to get the value of Filedata
------Solution--------------------
Too little information. cannot be judged.
------Solution--------------------
Since, the hint "$Filedata" can not get, in the above code to find the reason, is when to assign value to $filedata, slowly upward analysis, see
------Solution--------------------
Upload1 = new SWFUpload ({.... file_post_name: "Filedata", ...});
is not a matter of this attribute, the sending name of the file data.
If this is not the case, it does not have access to the file data and information.
PHP section needs to get data by $_files["Filedata")
The problem should be in this part.
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.