PHP Classes

File: exemple.html

Recommend this page to a friend!
  Classes of Aderbal Nunes   Upload Operations   exemple.html   Download  
File: exemple.html
Role: Example script
Content type: text/plain
Description: example
Class: Upload Operations
Validate and process files uploaded via Web forms
Author: By
Last change:
Date: 17 years ago
Size: 594 bytes


Class file image Download

$up = new UploadOperations;


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<form name="form1" method="post" enctype="multipart/form-data" action="">
  <input type="file" name="file" id="file" size="20">
  <input name="postok" type="submit" id="postok" value="POST">


// (file, maxsize, dir_destino)
if( $up->UpLoadFile($file, 400000, "uploaded") ) echo "Envoy successfully.";