Use only if you send a file.
This only works if PHP is installed with ext/magic.mime AND php.ini is setup correct!
Otherwise it will result in a FATAL ERROR.
So be WARNED!
Returns PEAR_Error if ext/magic.mime is not installed, or content type couldn't be guessed.
| Пред. | Начало | След. |
| HTTP_Download::setContentDisposition() | Уровень выше | HTTP_Download::send() |