PHP Classes

File: clientCode.php

Recommend this page to a friend!
  Classes of Reza Salehi   Easy Upload   clientCode.php   Download  
File: clientCode.php
Role: Example script
Content type: text/plain
Description: sample code uses the upload class
Class: Easy Upload
Manage files uploaded via Web forms
Author: By
Last change:
Date: 19 years ago
Size: 188 bytes
 

Contents

Class file image Download
<?php
   
include("upload.class.php");
   
//
   
$maxSize=1024*1000;//the max file size for images in bytes.
   
$u=new uploader($maxSize, "images/dynamic/");
   
$imageName=$u->upload("file");
?>