💼 정보 ver1.0

move_uploaded_file (PHP 4 >= 4.0.3, PHP 5) move_uploaded_file — Moves an uploaded file to a new location

James Wetzel 2012. 9. 21. 15:39
728x90
반응형

move_uploaded_file

(PHP 4 >= 4.0.3, PHP 5)

move_uploaded_file — Moves an uploaded file to a new location


reject note Description

bool move_uploaded_file ( string $filename , string $destination )

This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.

This sort of check is especially important if there is any chance that anything done with uploaded files could reveal their contents to the user, or even to other users on the same system.


상세 설명: http://php.net/manual/en/function.move-uploaded-file.php


728x90
반응형