Title: HTML5  support
Last modified: August 20, 2016

---

# HTML5 support

 *  Resolved [thpani](https://wordpress.org/support/users/thpani/)
 * (@thpani)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/html5-support/)
 * Please add support for the HTML5 multiple file input feature.
 * [http://wordpress.org/extend/plugins/wp-filemanager/](http://wordpress.org/extend/plugins/wp-filemanager/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [thpani](https://wordpress.org/support/users/thpani/)
 * (@thpani)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/html5-support/#post-3139085)
 * proposed patch:
 *     ```
       --- incl/upload.inc.php.old	2012-10-23 15:51:11.000000000 +0200
       +++ incl/upload.inc.php	2012-10-23 16:51:40.000000000 +0200
       @@ -12,7 +12,7 @@
          print $StrUploadFailPost;
         else
         {
       -  for($i=0;$i<=3;$i++)
       +  for($i=0;$i<count($_FILES['userfile']['tmp_name']);$i++)
          {
           $_FILES['userfile']['name'][$i] = stripslashes($_FILES['userfile']['name'][$i]);
        if (@move_uploaded_file($_FILES['userfile']['tmp_name'][$i], realpath($home_directory.$wp_fileman_path)."/".$_FILES['userfile']['name'][$i])) {
       @@ -45,8 +45,10 @@
        $max_post = (int)(ini_get('post_max_size'));
        $memory_limit = (int)(ini_get('memory_limit'));
        $upload_mb = min($max_upload, $max_post, $memory_limit);
       +$max_files = (int)(ini_get('max_file_uploads'));
        //	print "MAX UPload : $max_upload MB, MAX POST : $max_post MB, MEM LIMIT : $memory_limit MB";
        print "<br /><b>&nbsp;&nbsp;Maximum File Size Allowed : $upload_mb MB</b>";
       +print "<br /><b>&nbsp;&nbsp;Maximum Number of Files Allowed : $max_files</b>";
        // FIXME : add link to howto on how to change the upload size.
            print "<center><br />";
   
       @@ -55,7 +57,7 @@
            print "<form action='$base_url&output=upload&upload=true' method='post' enctype='multipart/form-data'>";
   
            print "<table class='upload'>";
       -     print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
       +     print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30 multiple="multiple"></td></tr>";
             print "<tr><td>$StrSecondFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
             print "<tr><td>$StrThirdFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
             print "<tr><td>$StrFourthFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
       ```
   
 *  [Noël N](https://wordpress.org/support/users/noelodesk/)
 * (@noelodesk)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/html5-support/#post-3139356)
 * That would be a nice fix indeed.
    Does anyone have any idea whether this plugin
   is still supported or being redesigned in some way at all?
 * It’s still the number 1 result in WordPress itself, when searching the Plugin
   directory on ‘filemanager’ and imo it does exactly what a lot of webmasters and
   devs expect from such a plugin.
 *  Plugin Author [anantshri](https://wordpress.org/support/users/anantshri/)
 * (@anantshri)
 * [13 years ago](https://wordpress.org/support/topic/html5-support/#post-3139372)
 * Hi thpani,
 * fix merged in the code.
 * download 1.4.0
 * acknoledgement added in readme.txt

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML5 support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-filemanager.svg)
 * [wp-FileManager](https://wordpress.org/plugins/wp-filemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-filemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-filemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-filemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-filemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-filemanager/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [anantshri](https://wordpress.org/support/users/anantshri/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/html5-support/#post-3139372)
 * Status: resolved