HTTP_Download::send

HTTP_Download::send() – Send file

Synopsis

mixed HTTP_Download::send ( bool $autoSetContentDisposition = true )

Описание

Send the download.

Returns PEAR_Error if:

  • HTTP headers were already sent
  • HTTP Range was invalid

Parameter

  • bool $autoSetContentDisposition = true - automatically sets the Content-Disposition to HTTP_DOWNLOAD_ATTACHMENT header if not already set

Return value

Returns TRUE on success, PEAR_Error on failure.

Замечание

This function can not be called statically.

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