API17:JFile::upload
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 40: | Line 40: | ||
boolean True on success | boolean True on success | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/filesystem/file.php | + | libraries/joomla/filesystem/file.php (line 360) |
| + | * see source code in [[jplatform:filesystem/file.php#cl-360|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:31, 23 April 2011
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]
Since
Synopsis
public static JFile::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 |
Returns
boolean True on success
Defined in
libraries/joomla/filesystem/file.php (line 360)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
