Let me start by saying I'm SUPER new to this. I'm trying to use PHP to make a gallery page. All of the pictures are in an FTP user's directory though. When I try to load my page I get the following error (I did change the names and directories):
Warning: opendir(/home/ftp_user/test/pictures/2016/09/23/): failed to open dir: Permission denied in /home/main_account_name/url.net/gallery_test/debug.php on line 174
I don't have an .htaccess file and I haven't modified any of the dreamhost php files. I did try making an .htaccess file but I didn't know what to put in it or even where to place it. in my main_account_user's root or in the root of the ftp_user's root.
Can I do what I'm trying to do? How can I do what I'm trying to do?
The reason I'm doing it this way is because the I don't want the account uploading the pictures to have access to anything but the pictures they're uploading.
Thank you in advance!