• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get directory name in codeigniter

#1
[eluser]Unknown[/eluser]
Hi I'm new in codeigniter.so plz tell me how to get directory name in codeigniter.

#2
[eluser]Sudz[/eluser]
Use PHP's inbuilt function:
Code:
string dirname ( string $path )
Given a string containing the path of a file or directory, this function will return the parent directory's path.

#3
[eluser]LuckyFella73[/eluser]
Have a look at the user guide to see what built in functions there are:
http://ellislab.com/codeigniter/user-gui...elper.html

#4
[eluser]InsiteFX[/eluser]
Also see:

CodeIgniter Users Guide - Directory Helper


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.