HTTP_Download::HTTP_Download()

HTTP_Download::HTTP_Download() -- Constructor

Synopsis

require_once 'HTTP/Download.php';

object new HTTP_Download ([array $params = array()])

Description

Creates an instance of an HTTP_Download object and sets supplied parameters.

Parameter

"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".

See

see HTTP_Download::setContentDisposition()

see HTTP_Download::setParams()