What is move uploaded file in PHP Filesystem
In this article I am going to explain about move_uploaded_file function in PHP.
PHP move_uploaded_file() Function
The filesytem move_uploaded_filesystem function moves an uploaded file to a new location but this function only work on files uploaded via HTTP POST. The move_uploaded_file functiion returns true on success, or false on failure.
Syntax of move_uploaded_file function
Parameters in move_uploaded_file function
It have two parameter:
||The filename of the uploaded file.
||The destination of the move file.
Example of filesystem move_uploaded_file function
$file = "C:\wamp\www\Dinesh\Mcn.txt";
echo ("$file is moved in new location");
echo ("$file is not uploaded via HTTP POST");
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here