PHP Classes

File: up.php

Recommend this page to a friend!
  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: 20 years ago
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>
For more information send a message to info at phpclasses dot org.