CodeIgniter Forums

Full Version: How will we upload ico files in Codeigniter?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Zeeshan Rasool[/eluser]
can anyone tell me how to upload ico files as we have no ico type in mimes.php file.

Thanks a lot !

El Forum

hi if you know the mime type of the ico file just add it to your config/mimes.php

here i found some mime for ico file
'ico'=>array("image/ico", "image/icon", "text/ico", "application/ico" , "image/x-icon");

some more

image/ico, image/x-icon, application/ico, application/x-ico, application/x-win-bitmap, image/x-win-bitmap, application/octet-stream

please check the link

also do google.

El Forum

[eluser]Zeeshan Rasool[/eluser]
Thanks a lot Umer Smile