HTTP_Download::setFile

HTTP_Download::setFile() – Set file path

Synopsis

mixed HTTP_Download::setFile ( string $file , bool $send_404 = true )

Описание

Set the path to the file for the download.

Parameter

  • string $file - file path

  • bool $send_404 = true - whether to send "HTTP 404 File Not Found", if file couldn't be found

Return value

Returns TRUE on success, PEAR_Error on failure.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ