Actions

API17

Difference between revisions of "JFile::upload"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JFile::upload/11.1 to API17:JFile::upload without leaving a redirect: Robot: Moved page)

Revision as of 17:59, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 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
  • Returns boolean True on success
  • Defined on line 374 of libraries/joomla/filesystem/file.php
  • Since Joomla 11.1

See also

SeeAlso:JFile::upload [Edit See Also]

User contributed notes

<CodeExamplesForm />