[Solved] Fixed file name for upload.php script [closed]
Have you tried: <? $target_path = “uploads/”; $target_path = $target_path . ‘data.xml’; if(move_uploaded_file($_FILES[‘uploadedfile’][‘tmp_name’], $target_path)) { echo “The file “. basename( $_FILES[‘uploadedfile’][‘name’]). ” has been uploaded”; } else{ echo “There was an error uploading the file, please try again!”; } ?> 2 solved Fixed file name for upload.php script [closed]