PHP 7.2.0 Release Candidate 2 Released

Voting

Please answer this simple SPAM challenge: seven plus one?
(Example: nine)

The Note You're Voting On

rnagavel at yahoo dot com dot au
8 years ago
If $_FILES is always empty, check the method of your form.
It should be POST. Default method of a form is GET.

<form action="myaction.php">
<input type="file" name"userfile">
</form>
File will not be uploaded as default method of the form is GET.

<form action="myaction.php" method="POST">
<input type="file" name"userfile">
</form>
Files will be uploaded and $_FILES will be populated.

<< Back to user notes page

To Top