Reputation: 13511
I like to ask something that may be simple and stupid, but I can't find out that information in PHP documentation.
Does the $_FILE['field_name']['size']
field represent the file size in bytes ?
Upvotes: 2
Views: 328
Reputation: 35139
file uploads info (on php.net)
$_FILES['userfile']['size']
The size, in bytes, of the uploaded file.
Upvotes: 1
Reputation: 10074
Yes,
http://www.php.net/manual/en/features.file-upload.post-method.php
Upvotes: 5