Welcome Guest, Not a member yet? Register   Sign In
Trying to put info from files into database
#4

(This post was last modified: 09-29-2016, 02:47 AM by salain.)

You don't need / should not have base_url in the path as this gives you a url (http://domain.ext/yourpath)
You need a physical path.
Per the documentation: Paths are almost always relative to your main index.php file.
So you should call

PHP Code:
$files directory_map('./public/images/gallery/');
// in public is where your index.php file is then 
$files directory_map('./images/gallery/'); 
If you still have an error do a var_dump or print_r of $files to see the content
A good decision is based on knowledge and not on numbers. - Plato

Reply


Messages In This Thread
RE: Trying to put info from files into database - by salain - 09-29-2016, 02:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB