Q. Which PHP function is used to move an uploaded file to a new location?

  • (A) upload_file()
  • (B) move_uploaded_file()
  • (C) file_move()
  • (D) save_file()
πŸ’¬ Discuss
βœ… Correct Answer: (B) move_uploaded_file()
Explanation: move_uploaded_file() is the correct function to move an uploaded file securely.
Explanation by: Rati Dubey
move_uploaded_file() is the correct function to move an uploaded file securely.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
90%
Success Rate