متغیرهای از پیش تعریف شده
PHP Manual

$_FILES

$HTTP_POST_FILES [نامطلوب]

$_FILES -- $HTTP_POST_FILES [نامطلوب] متغیرهای فایل‌های بار شده HTTP

Description

یک array شرکت‌پذیر از موارد بار شدن در اسکریپت فعلی از طریق POST در HTTP.

$HTTP_POST_FILES شامل همان اطلاعات اولیه است اما یک superglobal نیست. (توجه کنید که $HTTP_POST_FILES و $_FILES متغیرهای متفاوتی هستند و PHP نیز با آنها بصورت متفاوت رفتار می‌نماید)

Changelog

Version Description
4.1.0 معرفی $_FILES موجب نامطلوب شدن $HTTP_POST_FILES شد.

Notes

Note:

This is a 'superglobal', or automatic global, variable. This simply means that it is available in all scopes throughout a script. There is no need to do global $variable; to access it within functions or methods.

See Also


متغیرهای از پیش تعریف شده
PHP Manual