During php Upload, when the move_uploaded_file function is not used, the file is suspended and has been uploaded to the website. how can this problem be solved?
Source: Internet
Author: User
When the move_uploaded_file function is not used for php uploads, the file is stuck and has been uploaded by the previous tutorial 1.php& nbsp;. when the move_uploaded_file & nbsp; function is not used, whether the client file has been uploaded to the temporary directory (when the move_uploaded_file function is not used when you use the files array to obtain the relevant information, php uploads the file.
1. during php Upload, if the move_uploaded_file function is not used, whether the client file has been uploaded to the temporary directory (related information can be obtained through the files array)
2. how long will it take to automatically clear an uploaded file !!
3. after the move_uploaded_file function is used up, check whether the temporary file exists!
4. can private and var in the php class be used in functions in the class?
------ Solution --------------------
1. yes.
2. after the attachment is uploaded successfully, if you do not perform any operations, the temporary file will be automatically deleted.
3. after using this function, the temporary file will not exist.
4. $ this->
------ Solution --------------------
Move, that is, transfer.
Private is supported in php and used for class
------ Solution --------------------
1. yes
2.3. the temporary files are automatically deleted after the script is executed.
4. I am not very familiar with PHP OO.
------ Solution --------------------
1. yes.
2. after the attachment is uploaded successfully, if you do not perform any operations, the temporary file will be automatically deleted.
3. after using this function, the temporary file will not exist.
4. $ this->
========================================================== ==================
Completely correct. LZ is safe to use.
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.