HTTP_Download

HTTP_Download

Table of Contents
Intro --  Introduction in usage of HTTP_Download
HTTP_Download::HTTP_Download() -- Constructor
HTTP_Download::setParams() -- Set various parameters
HTTP_Download::setFile() --  Set file path
HTTP_Download::setData() -- Set raw data
HTTP_Download::setResource() -- Set resource for download
HTTP_Download::setGzip() --  Whether to gzip the download on the fly or not. (requires ext/zlib)
HTTP_Download::setCache() --  Whether to allow caching of the download on the clients side.
HTTP_Download::setCacheControl() --  Control cache privacy and validity.
HTTP_Download::setBufferSize() --  Set size of buffer in bytes.
HTTP_Download::setThrottleDelay() --  Set throttle delay in seconds
HTTP_Download::setContentType() --  Set content type
HTTP_Download::setLastModified() --  Set "Last-Modified"
HTTP_Download::setContentDisposition() --  Set content disposition
HTTP_Download::guessContentType() -- Guess content type of file
HTTP_Download::send() -- Send file
HTTP_Download::staticSend() --  Static send
HTTP_Download::sendArchive() --  Send an archive created on the fly

Send HTTP Downloads

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.