I've created a form with 3 <input type="file"/>

I see that I get an array with array(name=>"").

So I check if ($_FILE["myfilename"]["name"]=="") instead.

This works but it seems rather unusual to me.

I was wondering if there was a better way to check if a file input is set or not?

Edit
Report