how to get directory name in codeigniter - 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: how to get directory name in codeigniter (/showthread.php?tid=50447) |
how to get directory name in codeigniter - El Forum - 03-27-2012 [eluser]Unknown[/eluser] Hi I'm new in codeigniter.so plz tell me how to get directory name in codeigniter. how to get directory name in codeigniter - El Forum - 03-27-2012 [eluser]Sudz[/eluser] Use PHP's inbuilt function: Code: string dirname ( string $path ) how to get directory name in codeigniter - El Forum - 03-27-2012 [eluser]LuckyFella73[/eluser] Have a look at the user guide to see what built in functions there are: http://ellislab.com/codeigniter/user-guide/helpers/file_helper.html how to get directory name in codeigniter - El Forum - 03-27-2012 [eluser]InsiteFX[/eluser] Also see: CodeIgniter Users Guide - Directory Helper |