previousHTTP_Download::guessContentType (Previous) (Next) HTTP_Download::staticSendnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTTP_Download::send

HTTP_Download::send() – Send file

Synopsis

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

Description

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.

Note

This function can not be called statically.

previousHTTP_Download::guessContentType (Previous) (Next) HTTP_Download::staticSendnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.