![]() |
Image download problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Image download problem (/showthread.php?tid=41692) |
Image download problem - El Forum - 05-14-2011 [eluser]veledrom[/eluser] Hi, I am using this function to download an image that I uploaded before by using Codeigniter. Function successfully downloads it with same name but when I try to open it, I get an error which says "Cannot be opened... file format... is not supported..." Please help. Thanks CONTROLLER: Code: public function do_downloadfile() VIEW: Code: anchor('fileupload/do_downloadfile/82df53aae33450324bd26cd880d678b5.png', 'Download Image download problem - El Forum - 05-14-2011 [eluser]iversonchen[/eluser] i am learning the PHP, still can not understand this questions. i have to learn more. |