Files can be uploaded from a browser to the server with forms using the “file” input type.
Explanation: HTML code for file.
[file] => Array (
[name] => Desert.jpg
[type] => image/jpeg
[tmp_name] => C:\wamp\tmp\phpD31E.tmp
[error] => 0
[size] => 845941 ) )
Explanation: It gives information about uploaded files.