Documentation

Upload
in package

Table of Contents

$FILE_EXTENSION  : string
$FILE_MIME  : string
$FILE_NAME  : string
$FILE_SIZE  : string
$IP  : string
$NEW_NAME  : string
$NEW_NAME_FULL  : string
$SHA1  : string
$TEMP_FILE  : string
checkExtensionBlacklist()  : mixed
Check if file extension is blacklisted if it does throw an exception.
checkMimeBlacklist()  : mixed
diverseArray()  : array<string|int, mixed>
fileInfo()  : mixed
generateName()  : string
reFiles()  : array<string|int, mixed>
uploadFile()  : array<string|int, mixed>

Properties

Methods

checkExtensionBlacklist()

Check if file extension is blacklisted if it does throw an exception.

public checkExtensionBlacklist() : mixed
Tags
throws
Exception
Return values
mixed

checkMimeBlacklist()

public checkMimeBlacklist() : mixed
Tags
throws
Exception
Return values
mixed

diverseArray()

public diverseArray(mixed $files) : array<string|int, mixed>
Parameters
$files : mixed
Return values
array<string|int, mixed>

fileInfo()

public fileInfo() : mixed
Return values
mixed

generateName()

public generateName() : string
Tags
throws
Exception
Return values
string

reFiles()

public reFiles(mixed $files) : array<string|int, mixed>
Parameters
$files : mixed
Return values
array<string|int, mixed>

uploadFile()

public uploadFile() : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

Search results