aman Asked: 12-02-22 move uploaded file($ FILES["attachment"]["tmp name"], $targetFilePath)) 2 You must create in the (uploads) folder in root directory https://letsrectify.com/public/answer/NA==/letsrectify" data-action="share/whatsapp/share"> Share Facebook https://letsrectify.com/public/answer/NA==/letsrectify" data-action="share/whatsapp/share"> 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