Welcome Guest, Not a member yet? Register   Sign In
Wav file upload problem

[eluser]Justin Patel[/eluser]
Hello Mates,

I am trying to upload .wav file, I have added into allowed types but it always say, the file type you are attempting to upload is not allowed ..



Try to see what mime type is you was file (echo $_FILES['your_field_name']['type']) and add it to the mimes config in application/config/mimes.php
Currently it only supports 'audio/x-wav', you should change the line to
'wav' => array('audio/x-wav', '???'),

being ??? the type that you got from printing.

[eluser]Justin Patel[/eluser]

Its working great.

Thanks a LOT Wink

Theme © iAndrew 2016 - Forum software by © MyBB