HTTP_Download::setContentDisposition()

HTTP_Download::setContentDisposition() --  Set content disposition

Synopsis

void HTTP_Download::setContentDisposition (string [$disposition = HTTP_DOWNLOAD_ATTACHMENT], string [$file_name = null])

Описание

Set content disposition of the download.

"Content-Disposition" is not HTTP compliant, but most browsers follow this header, so it was borrowed from MIME standard. It looks like this: "Content-Disposition: attachment; filename=example.tgz".

Параметр

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ