Array of standard Mime document

See all posts See thread Reply

Re: Array of standard Mime document new!
by Cedric, 13 years, 11 months ago
just upload an exe file with this:
$handle->process($path);
$handle->mime_check = true;
$handle->file_safe_name = true;
$handle->file_overwrite = true;

file uploaded correctly... ?Reply
Re: Array of standard Mime document new!
by colin, 13 years, 11 months ago
You have to set the options before calling process()

As for changing the MIME types, look in the doc for the options allowed and forbiddenReply