move_uploaded_file

It moves an uploaded file to a new location

Example

<?php

┬ámove_uploaded_file($tmp_name, $_FILES[“file”][“name”]) or die(“Failed”);

?>

Share