萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> php編程 >> $_FILES參考說明

$_FILES參考說明

$_FILES參考說明

Element                         Contains                                Example
 
$ FILES['fupload']['name']      文件名                   test.gif
 
$_FILES['fupload']['tmp_name']  臨時文件名                  /tmp/asdfadsf
 
$_FILES['fupload']['size']      文件大小        6835
 
$_FILES['fupload']['error']     錯誤代碼          UPLOAD_ERR_FORM_SIZE
 
$_FILES['fupload']['type']      文件類型    image/gif
 
 

copyright © 萬盛學電腦網 all rights reserved