Which of the following PHP functions can be used to move an uploaded file to a desired location?
- move_uploaded_file()
- copy_file()
- upload_file()
- relocate_file()
The 'move_uploaded_file()' function is specifically designed for moving an uploaded file to a desired location. It handles security checks and ensures the move is safe.
Loading...
Related Quiz
- Which of the following are valid ways to specify an integer in PHP?
- What can be the potential issues with a for loop in PHP?
- A variable that starts with a number in PHP will result in a ________.
- What PHP function can be used to validate an email in a PHP form?
- You need to generate a random number in your PHP script. What function would you use and why?