php move file
//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');
php move file
//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');
php move_uploaded_file
$upload_folder = "upload/";
$file_location = $upload_folder . basename($_FILES["fileToUpload"]["name"]);
if(isset($_FILES['fileToUpload'])){
if(move_uploaded_file($_FILES['fileToUpload']['tmp_name'], $file_location)){
echo 'Files has uploaded';
};
}
php move uploaded file
move_uploaded_file ( string $filename , string $destination ) : bool
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us