Welcome Guest, Not a member yet? Register   Sign In
Question about Upload rar files

hi all
I'm use the Upload library to upload files but I'm need to allow the rar files but if i upload rar files the process give me this error : The filetype you are attempting to upload is not allowed.

I'm tray to add rar files to the mimes config file with this link :

'rar'   =>  array('application/x-rar-compressed', 'Archive WinRAR/rar', 'Archive WinRAR', 'application/rar')

but with this all time the error is appear :-S .

tks for all to help me

I'd suggest you try and ascertain the MIME type of the particular RAR you're trying to upload, in case it's different to the MIME types you've already added.

but with this i have problem for upload the rar files :S . i'm now search for other uplaod class to use, but is any one have resolution for this problem tks for help me

This seems to come up a lot, and I can't remember anyone ever coming up with a real solution, most peoeple just comment out the mime check to get it working

ok if i'm need to use the upload class without check mimes type check only the extension, any help?

Theme © iAndrew 2016 - Forum software by © MyBB