(PHP 4 >= 4.1.0, PHP 5, PHP 7)
$_FILES -- $HTTP_POST_FILES [deprecated] — HTTP File Upload variables
An associative array of items uploaded to the current script via the HTTP POST method. The structure of this array is outlined in the POST method uploads section.
$HTTP_POST_FILES contains the same initial information, but is not a superglobal. (Note that $HTTP_POST_FILES and $_FILES are different variables and that PHP handles them as such)
버전 | 설명 |
---|---|
4.1.0 | Introduced $_FILES that deprecated $HTTP_POST_FILES. |
Note:
이는 '자동전역' 변수입니다. 스크립트의 모든 영역에서 사용할 수 있습니다. 함수나 메쏘드 안에서 접근하기 위해서 global $variable;를 할 필요가 없습니다.