Class

Upload

Package: io Author: Régis VIARRE <crowkait@phpboost.com Desc: This class provides you methods to upload easily files to the ftp. Located at io/Upload.class.php
Methods summary
public
# __construct( string $base_directory = 'upload' )
public boolean
# file( string $filepostname, string $regexp = '', boolean $uniq_name = false, integer $weight_max = 100000000, boolean $check_exist = true )
public string
# check_img( string $width_max, integer $height_max, integer $delete = true )
public float
# get_human_readable_size( integer $round = 1 )
public
public
public
public
public
public
# get_size( )
Constants summary
boolean UNIQ_NAME true
#
boolean NO_UNIQ_NAME false
#
boolean CHECK_EXIST true
#
boolean DELETE_ON_ERROR true
#
boolean NO_DELETE_ON_ERROR false
#