CodeIgniter Forums
How will we upload ico files in Codeigniter? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How will we upload ico files in Codeigniter? (/thread-25494.html)



How will we upload ico files in Codeigniter? - El Forum - 12-14-2009

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

Thanks a lot !


How will we upload ico files in Codeigniter? - El Forum - 12-14-2009

[eluser]umefarooq[/eluser]
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
Code:
'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

http://filext.com/file-extension/ICO

also do google.


How will we upload ico files in Codeigniter? - El Forum - 12-14-2009

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