HTML_QuickForm_file::moveUploadedFile()

HTML_QuickForm_file::moveUploadedFile() – Moves an uploaded file into the destination

Synopsis

require_once 'HTML/QuickForm/file.php';

bool HTML_QuickForm_file::moveUploadedFile ( string $dest , string $fileName = '' )

Description

This package is not documented yet.

Parameter

string $dest

Destination directory path

string $fileName

New file name (if not given, original file name will be used).

Return value

returns true if file has been moved successfully, false otherwise.

Throws

throws no exceptions thrown

Note

This function can not be called statically.