i want to upload fixed file from fixed pc path without use input. (ex: "C:\uploadfile.zip")
i tried this but not working.
$myfile= "C:\uploadfile.zip";
$uploaddir = "files/";
$uploadfile = $uploaddir . basename($_FILES["$myfile"]['name']);
if (move_uploaded_file($_FILES["$myfile"]['tmp_name'], $uploadfile)) {
echo "File is valid, and was successfully uploaded.
"; }
is it possible to upload fixed file from fixed pc path?