When i uploaded a (.doc) file, i printed the $_FILES array and got the following array.
Array
(
[cv] => Array
(
[name] => Document.doc
[type] =>
[tmp_name] =>
[error] => 2
[size] => 0
)
)

I want to know the errors of uploaded file.