I have the following in my opinion
<input class="file" name="mpfile[]" type="file" size="32" />
In my controller, I have the following code.
if(isset($_FILES['mpfile'])) {
echo 'testing';
}
Pretty simple huh? .... Except that every time I run it, regardless of whether I selected a file or not, it starts ... If it runs only an echo, if I have a file ready for input?
Chris source
share