Login   Register  
PHP Classes
elePHPant
Icontem

File: mult_test2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Paul.Ren  >  Multi Upload  >  mult_test2.php  >  Download  
File: mult_test2.php
Role: Example script
Content type: text/plain
Description: upload mult-array file test use mult_save_as method
Class: Multi Upload
Manage multiple files uploaded via Web forms
Author: By
Last change:
Date: 2004-06-22 03:39
Size: 686 bytes
 

Contents

Class file image Download
<?
//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>