Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 20136 программистов и 1977 роботов. Сейчас ищет 1581 программист ...
HTTP_Download::send
Вернуться к: HTTP_Download
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.
Note
This function can not be called statically.
Вернуться к: HTTP_Download