how to explore current path in codeigniter |
[eluser]Unknown[/eluser]
Hi I'm new in codeigniter. so i want explode current full path in codeigniter.i tried explode function but this function dont give filenames in particular directory
[eluser]JoostV[/eluser]
This should work on Linux, Mac & Windows Code: $path_array = explode(DIRECTORY_SEPARATOR, __FILE__);
[eluser]InsiteFX[/eluser]
CodeIgniter Users Guide - Directory Helper Also why did you post this in 2 different forum topics?
[eluser]JoostV[/eluser]
Haha, misread. I thought @Sweety wrote explode instead of explore |
Welcome Guest, Not a member yet? Register Sign In |