<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/reserved.variables.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'reserved.variables.files.php',
    1 => '$_FILES',
    2 => 'HTTP 文件上传变量',
  ),
  'up' => 
  array (
    0 => 'reserved.variables.php',
    1 => '预定义变量',
  ),
  'prev' => 
  array (
    0 => 'reserved.variables.post.php',
    1 => '$_POST',
  ),
  'next' => 
  array (
    0 => 'reserved.variables.request.php',
    1 => '$_REQUEST',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'language/predefined/variables/files.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reserved.variables.files" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">$_FILES</h1>
  <p class="refpurpose"><span class="refname">$_FILES</span> &mdash; <span class="dc-title">HTTP 文件上传变量</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-reserved.variables.files-description">
  <h3 class="title">说明</h3>
  <p class="para">
   通过 HTTP POST 方式上传到当前脚本的项目的<span class="type">数组</span>。
   此数组的概况在 
   <a href="features.file-upload.post-method.php" class="link">POST 方法上传</a> 章节中有描述。
  </p>
 </div>

 
 
 <div class="refsect1 notes" id="refsect1-reserved.variables.files-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">注意</strong>: <p class="para">“Superglobal”也称为自动化的全局变量。这就表示其在脚本的所有作用域中都是可用的。不需要在函数或方法中用
<strong class="command">global $variable;</strong> 来访问它。</p></p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-reserved.variables.files-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.move-uploaded-file.php" class="function" rel="rdfs-seeAlso">move_uploaded_file()</a> - 将上传的文件移动到新位置</span></li>
    <li><a href="features.file-upload.php" class="link">处理文件上传</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>