Location: PHPKode > scripts > Multi Upload > multi-upload/mult_test2.php
<?
//upload multi-files use mult_save_as method
require "./upload.class.php";
if($HTTP_POST_VARS[Submit]){
	$upload = new ClsUpload();
	$upload->mult_save_as("file",".","php_");
	$upload->p($upload);
}


?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"  />
<title>upload file</title>
</head>
<body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
<form name="form1" method="post" enctype="multipart/form-data" >
<input name="file[]" type="file" ><br/>
<input name="file[]" type="file" ><br/>
<input name="file[]" type="file" ><br/>
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
Return current item: Multi Upload