PHP function is_uploaded_file()

Availability in versions: PHP 4.0.3

Tells whether the file was uploaded via HTTP POST

Parameters

Parameter Data type Default value Note
$filename string not The filename being checked.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official is-uploaded-file documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.