• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.