HTTP_Download::guessContentType | HTTP_Download::staticSend |
HTTP_Download | |
PEAR Manual | |
mixed
HTTP_Download::send
(
bool
$autoSetContentDisposition = true
)
Send the download.
Returns PEAR_Error if:
HTTP headers were already sent
HTTP Range was invalid
bool $autoSetContentDisposition = true - automatically sets the Content-Disposition to HTTP_DOWNLOAD_ATTACHMENT header if not already set
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
HTTP_Download::guessContentType | HTTP_Download::staticSend |
HTTP_Download | |
PEAR Manual | |