El Forum
01-11-2013, 05:59 PM
[eluser]behnampmdg3[/eluser]
Hello;
Why can't I see anything? I need to see the files in this directory. The directory exists and is accessible. I dont get an error either!
Thanks
Hello;
Why can't I see anything? I need to see the files in this directory. The directory exists and is accessible. I dont get an error either!
Code:
$directory_url = base_url('upload/server/php/files');
$this->load->helper('directory');
$one = directory_map($directory_url);
$two = directory_map($directory_url, FALSE, TRUE);
$three = directory_map($directory_url, 1);
print_r($one);
echo "<hr />";
print_r($two);
echo "<hr />";
print_r($three);
echo "<hr />";
echo $directory_url;
Thanks