API17:JFile::upload
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFile::upload
Description
Moves an uploaded file to a destination folder.
Description:JFile::upload [Edit Descripton]
public static function upload ( $src $dest $use_streams=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $src | string | The name of the php (temporary) uploaded file | |
| $dest | string | The path (including filename) to move the uploaded file to | |
| $use_streams | false |
See also
-
JFile::upload source code on BitBucket
-
Class JFile
-
Subpackage Filesystem
- Other versions of JFile::upload
SeeAlso:JFile::upload [Edit See Also]
User contributed notes
<CodeExamplesForm />
