sending pdf with "allowed = image/*"

See all posts See thread Reply

Re: sending pdf with "allowed = image/*"  new!
by colin, 15 years ago
I am not too sure what you mean. Can you copy here the log produced by the class?

To allow or forbid some MIME types, you should do as following, before calling process():
$handle->allowed = array('xxx/yyy', 'zzz/*'');

The check on MIME types is done when calling process(), not before.Reply