Location: PHPKode > scripts > Multiple Image Upload > HMIU/index.php
<script type="text/javascript">
 
       function isInteger(s)
    {
    
        var cle=document.getElementById('imgsize');
        var i;
      	s = s.toString();
         for (i = 0; i < s.length; i++)
         {
             var c = s.charAt(i);
              if (isNaN(c)) 
	             {
		             cle.value="";
                 cle.focus;
                 alert("Please Enter number Only");
	             	return false;
	            }
          }
      return true;      
    }
    function chkval()
  {
      var numimg=document.imageupload.imgsize.value;
      if(numimg.length==0) 
      {
          
        return false;
      }
  
  
  }
function ctck()
{
     var sds = document.getElementById("dum");
     if(sds == null){
        alert("You are using a free package.\n You are not allowed to remove the tag.\n");
     }
     var sdss = document.getElementById("dumdiv");
     if(sdss == null){
         alert("You are using a free package.\n You are not allowed to remove the tag.\n");
     }
}
document.onload ="ctck()";

-->
</script>
<form name="imageupload" method="post" action="imgload.php">
<table align=center cellpadding=1 cellspacing=1 style="font-family: Monaco, Verdana, Sans-serif; font-size: 12px;background-color: #f9f9f9;border:1px solid #D0D0D0;color: #002166;width:50%;">
<h2><center> Multiple Image Upload Script</center></h2>
<tr><td style='padding-left:50px;'>Images to Upload:</td><td><input type="text" name="imgsize" size=13 maxlength=1 id="imgsize" onKeyup="isInteger(this.value)" autocomplete=off> <td><font color="gray" ><h5>[Note:Maximum Upload Images 9] </h5></font></td></tr></td>
<tr><td>       </tr></td>  <tr><td>       </tr></td> <tr><td>       </tr></td>
<tr> <td colspan=3 align=center > <input type="submit" value="submit" name="submit" id="submit" onClick="return chkval()"></tr></td><br>  
</table>
<div style="font-size: 10px;color: #dadada;" id="dumdiv" align=center>
<a href="http://www.hscripts.com" id="dum" style="text-decoration:none;color: #dadada;">©h</a></div>
</form>
Return current item: Multiple Image Upload