• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't get it to view files i a directory!

#3
[eluser]behnampmdg3[/eluser]
[quote author="CroNiX" date="1357956015"]Because you're not accessing a directory...you're accessing a URL (using base_url())... Try using the full path to the dir.
[/quote]Would you please explain? I tired this below but no difference:
Code:
$directory_url = "http://nickdavis.com.au/sincity/website_admin/upload/server/php/files";
$this->load->helper('directory');
$one = directory_map($directory_url);

echo $directory_url;echo "<br />";
var_dump($one);
It prints:

Code:
http://nickdavis.com.au/sincity/website_admin/upload/server/php/files
bool(false)

Heres the folder

Thank you


Messages In This Thread
I can't get it to view files i a directory! - by El Forum - 01-11-2013, 05:59 PM
I can't get it to view files i a directory! - by El Forum - 01-11-2013, 07:00 PM
I can't get it to view files i a directory! - by El Forum - 01-11-2013, 07:11 PM
I can't get it to view files i a directory! - by El Forum - 01-11-2013, 07:31 PM
I can't get it to view files i a directory! - by El Forum - 01-11-2013, 07:37 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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