下列选项中,用于将上传的临时文件名移至指定的目标位置常用的函数是( )。
A.fileinfo()
B.move_uploaded_file()
C.fileperms()
D.filesize()
正确答案是B