Login   Register  
PHP Classes
elePHPant
Icontem

File: clientCode.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 9 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");
?>