Reply to Re: trouble uploading a mht file

Re: trouble uploading a mht file new!
by ric woods, 15 years, 8 months ago
thanks Colin, it worked great
but, as usual another question

the site this is for will be updated by non-technical staff.

Is there a way the MIME type can be automatically determined?

i tried
$uploaded->allowed[] = mime_content_type($uploaded->file_src_pathname);
but it did not work

Sorry I am relatively new to php and MIME.

Thanks

RicReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important