Uploading mp3 files

See all posts See thread Reply

Re: Uploading mp3 files new!
by Roger, 15 years, 11 months ago
After more troubleshooting I noticed whenever I add a $handle->allowed, I get the same error (no matter what the mime-type is). I only seem to be able to upload images without having to use $handle->allowed.Reply
Re: Uploading mp3 files new!
by colin, 15 years, 11 months ago
You can copy here the log of the class, which gives information regarding the MIME types:
echo $fileMP3->log;

As for allowed, use it as following, to test:
$handle->allowed = array('*/*');
$handle->forbidden = array('');
Reply