What's the difference between COPY OF A FILE & MOVE_UPLOAD_FILE in file uploading?

Questions by Lokesh M   answers by Lokesh M

Showing Answers 1 - 1 of 1 Answers

shweta maheshwari

  • Sep 18th, 2006
 

Move :   This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.

If filename is not a valid upload file, then no action will occur, and move_uploaded_file() will return FALSE.

Copy :Makes a copy of a file. Returns TRUE if the copy succeeded, FALSE otherwise.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions