You have a PHP script and you need to move an uploaded file to a specific directory. How would you do this?

  • move_uploaded_file()
  • copy()
  • move_file()
  • attach_file()
To move an uploaded file to a specific directory in PHP, you can utilize the move_uploaded_file() function. This function moves the file to the desired directory. Check out: http://php.net/manual/en/function.move-uploaded-file.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *