I got this code from the web and have tried to use it, with some degree of success.
Code:
<?
set_time_limit(300);
$numoffile = 4; // Set how many file uploads you want.
if ($_POST) {
for ($i=0;$i<$numoffile;$i++) {
if (trim($_FILES['myfiles']['name'][$i])!="") {
$temp_file_location = $_FILES['myfiles']['tmp_name'][$i];
Leave a comment: