PHP funkce 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 |
není | The filename of the uploaded file. |
$destination |
string |
není | 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.