Trying to put info from files into database |
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/'); A good decision is based on knowledge and not on numbers. - Plato
|
Messages In This Thread |
Trying to put info from files into database - by doomie22 - 09-28-2016, 07:58 PM
RE: Trying to put info from files into database - by salain - 09-28-2016, 11:12 PM
RE: Trying to put info from files into database - by doomie22 - 09-29-2016, 02:03 AM
RE: Trying to put info from files into database - by salain - 09-29-2016, 02:46 AM
RE: Trying to put info from files into database - by doomie22 - 09-29-2016, 05:06 AM
RE: Trying to put info from files into database - by salain - 09-29-2016, 05:30 AM
RE: Trying to put info from files into database - by InsiteFX - 09-29-2016, 11:08 AM
|