aman Asked: 12-02-22 2 You must create in the (uploads) folder in root directory Share Facebook 1 More Answers Answers aman 2022-02-12 13:39:57 if(move_uploaded_file($_FILES["attachment"]["tmp_name"], $targetFilePath)){ $uploadedFile = $targetFilePath; }else{ $uploadStatus = 0; $statusMsg = "Sorry, there was an error uploading your file."; }. 0 Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Cancel reply
if(move_uploaded_file($_FILES["attachment"]["tmp_name"], $targetFilePath)){
$uploadedFile = $targetFilePath;
}else{
$uploadStatus = 0;
$statusMsg = "Sorry, there was an error uploading your file.";
}
.0