move_uploaded_file

Dostupnost ve verzích: PHP 4.0.3

Moves an uploaded file to a new location

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$filename string   The filename of the uploaded file.
$destination string   The destination of the moved file.

Návratové hodnoty

bool

If filename is not a valid upload file, then no action will occur, and move_uploaded_file will return false.

If filename is a valid upload file, but cannot be moved for some reason, no action will occur, and move_uploaded_file will return false. Additionally, a warning will be issued.

Další zdroje

http://php.net/…ded-file.php

Sponzorované odkazy
Pomohl Vám tento článek?