Welcome Guest, Not a member yet? Register   Sign In
How to get the filename's from a the views directory
#1

[eluser]Gwarrior[/eluser]
I want to get an array of filename's from the views directory, with the use of the file helper and the get_filenames() function. I can't seem to find a working path. Currently, I have the folder stored at C:\\wamp\www\contentcreator\system\application\views\cc_groups. My question is, how would I write this in a path so it works without modification once moved onto a server?

get_filenames('./system/application/views/cc_groups/') will not product a result at all.

Thanks in advance!


Messages In This Thread
How to get the filename's from a the views directory - by El Forum - 10-13-2009, 09:53 AM
How to get the filename's from a the views directory - by El Forum - 10-13-2009, 10:08 AM
How to get the filename's from a the views directory - by El Forum - 10-13-2009, 10:22 AM
How to get the filename's from a the views directory - by El Forum - 10-13-2009, 06:49 PM
How to get the filename's from a the views directory - by El Forum - 11-30-2009, 03:40 PM
How to get the filename's from a the views directory - by El Forum - 11-30-2009, 03:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB