-
-
|
|
Class: UploadSource Location: /io/upload.class.php [line 40]
Class Overview
This class provides you methods to upload easily files to the ftp.
Author(s):
- Régis VIARRE <crowkait@phpboost.com
Class Details
Class Methods
constructor Upload [line 51]
Upload Upload(
[string
$base_directory = 'upload'])
|
|
constructor
Parameters:
method file [line 65]
boolean file(
string
$filepostname, [string
$regexp = ''], [boolean
$uniq_name = false], [int
$weight_max = 100000000], [boolean
$check_exist = true])
|
|
Uploads a file. Tags:
Parameters:
method validate_img [line 112]
string validate_img(
string
$filepath, int
$width_max, int
$height_max, [boolean
$delete = true])
|
|
Checks whether an image is compliant to an maximum width and height, otherwise is $delete value is true delete it. Tags:
Parameters:
Class Variables
[line 227]
mixed
$base_directory
[line 43]
mixed
$error
= ''
[line 228]
mixed
$extension
= array()
[line 229]
mixed
$filename
= array()
|
-
-