CodeIgniter How to access the protected directory? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CodeIgniter How to access the protected directory? (/showthread.php?tid=46297) |
CodeIgniter How to access the protected directory? - El Forum - 10-26-2011 [eluser]Unknown[/eluser] Hi every PHP and CodeIgniter professional, I'm new to CI and I've having a probem about accessing the protected directory, my images folder had been protected by using .htaccess, so we can't access the contents by typing "http://CI.com/file/123.jpg", if in PHP code without CI we can access it like that <img src="file/123.jpg" >, but if in CI how access the directory? I just don't allow people direct access the image by typing the image url in the browser, anyone have any idea? |