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

[eluser]showman[/eluser]
Yes, it's a pity grad_student didn't reply with a solution, as I have the same problem.

I have full read/write access to the my_images folder mentioned below, but still get no results even though folder contains many files.

here is the code in my model:

Code:
$my_images_path=base_url().'my_images/';
$my_images=get_filenames($my_images_path);
print_r($my_images_path);
echo "<br>my_images="; print_r($my_images);

$my_images_path returns a correct value, but $my_images returns an empty array.

any suggestion welcome.

showman


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