Easy Tutorial
❮ Php Secure Mail Php Var_Dump Function ❯

PHP move_uploaded_file() Function



Definition and Usage

The move_uploaded_file() function moves an uploaded file to a new location.

The function returns TRUE if successful, and FALSE if it fails.

Syntax

Parameter Description
file Required. Specifies the file to be moved.
newloc Required. Specifies the new location for the file.

Tips and Notes

Note: This function is only applicable to files uploaded via HTTP POST.

Note: If the target file already exists, it will be overwritten.


❮ Php Secure Mail Php Var_Dump Function ❯