简体   繁体   English

$ _FILE中的size元素代表什么?

[英]What does the size element in $_FILE represent?

I like to ask something that may be simple and stupid, but I can't find out that information in PHP documentation. 我想问一些简单而愚蠢的问题,但是我无法在PHP文档中找到这些信息。

Does the $_FILE['field_name']['size'] field represent the file size in bytes ? $_FILE['field_name']['size']字段是否以字节为单位表示文件大小?

file uploads info (on php.net) 文件上传信息 (在php.net上)

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM