KodeFor.Me
KodeFor.Me

Reputation: 13511

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.

Does the $_FILE['field_name']['size'] field represent the file size in bytes ?

Upvotes: 2

Views: 328

Answers (2)

Alister Bulman
Alister Bulman

Reputation: 35139

file uploads info (on php.net)

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

Upvotes: 1

Related Questions