Login   Register  
PHP Classes
elePHPant
Icontem

File: up.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of David Asin Sanchez  >  XUpload  >  up.php  >  Download  
File: up.php
Role: ???
Content type: text/plain
Description: An example form page for uploading
Class: XUpload
Author: By
Last change:
Date: 2001-09-21 12:39
Size: 642 bytes
 

Contents

Class file image Download
<?php
#######################################
# Author:          David Asín Sánchez #
# Organization:    Xarelan Multimedia #
# e-mail:          david@xarelan.com  #
#######################################
 
include('./XUploadForm.inc.php');

// Create the upload form
$mf = new XUploadForm('./upload.php');
?>
<html>
<body>
<?php

// ===================
// Show Form
// ===================

$mf->begin();
$mf->setFormMaxFileSize("2097152");

$mf->setFormFileInput("file1");
$mf->setFormFileInput("file2");
$mf->setFormFileInput("file3");

$mf->setFormButton("submit","Upload");
$mf->end();

?>
</body>
</html>