JFile::upload
Moves an uploaded file to a destination folder
Signature
public function upload(string
$src,
[string
$dest = false,
[boolean
$use_streams = false]] )
Parameters
-
$src
- The name of the php (temporary) uploaded file
-
$dest
- The path (including filename) to move the uploaded file to
-
$use_streams
- True to use streams
Returns
- boolean
- True on success