PHP,SMARTY - File upload not working in IE alone -
i have form defined via smarty, consisting of multiple tabs various purposes. 2 of tabs have file upload controls placed inside it. form submission works without flaws in firefox, when same in ie8/7, form submission working first file upload control. second file control not @ picked browser, while submitting form. file upload control defined in normal way, , not making use of smarty tags that.
<input type="file" name="e2c[vids_upload]" maxlength="100000"/>
code. working in firefox without issues
my guess have 2 inputs same name. browsers expect unique names each file input instance. see both similar names, i'd suggest doing this:
<input type="file" name="e2c[vids_upload][]" maxlength="100000" />
this put each file it's own index under e2c[vids_upload] can see them both on other side.
admittedly, if issue, i'm surprised firefox working @ all.
Comments
Post a Comment