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.

Checks if the element contains an uploaded file (Previous) Sets size of file element (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.