0 votes
in PHP by
How can we get the error when there is a problem to upload a file?

1 Answer

0 votes
by

$_FILES['userfile']['error'] contains the error code associated with the uploaded file.

...