2012-04-03 23 views
2

我喜欢问些简单而愚蠢的事情,但我无法在PHP文档中找到这些信息。

$_FILE['field_name']['size']字段是否代表以字节为单位的文件大小?

+0

我搜索的信息在这里http://php.net/manual/en/reserved.variables .files.php – 2012-04-03 08:08:21

+1

http://www.google.com/search?q=php+%24_FILES – Timur 2012-04-03 08:09:13

+0

@RepWhoringPeeHaa你对标题有什么更好的建议吗? – 2012-04-03 08:09:37

回答

1

file uploads info(上php.net)

$_FILES['userfile']['size'] 
    The size, in bytes, of the uploaded file. 
相关问题