First off, great job to all developers on the LinPHA
Like many low budget people, I use a hosting provider
that utilizes cPanel X. PHP runs as 'nobody' on these
servers. That causes a problem when you use a mixed
mode of uploading images. I like to use FTP, but other
family members who contribute to my gallery use the
built-in File Management.
Directories and Files created and modified cannot be
changed by my SSH, SFTP, or FTP account. Also this is
a slight (unlikely) security problem since the
permissions are set for nobody and any other PHP
application from another customer on the SAME server
could view and possibly change my gallery.
A possible Round Robin solution is to use ftp_*
functions included in PHP to locally make, move, and
change album pics. So after the file is uploaded, have
the ability to instead of use move_uploaded_file to
ftp_connect (localhost), ftp_login (using stored acct
info as I would use to via FTP), and ftp_fput (from tmp
file to album's dir).
Same goes for mkdir and copy. Thanks and keep up the