HTTP_Download::setContentDisposition | HTTP_Download::send |
HTTP_Download | |
PEAR Manual | |
mixed
HTTP_Download::guessContentType
(
)
Use only if you send a file.
First we try to use MIME_Type, if installed, to detect the content type, else we check if ext/mime_magic is loaded and properly configured.
Returns PEAR_Error if:
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
HTTP_Download::setContentDisposition | HTTP_Download::send |
HTTP_Download | |
PEAR Manual | |