Ok, a couple of questions please..
1. For some reason the charecter Â has appeared on the page. Its not in the source code. Any ideas..?
2. I have created a directory with htaccess password protection to prevent general access to the upload page called /ftp..
the page is called ftp2.php.. so the path to this secure page is /ftp/ftp2.php - that all works fine.
The directory for the upload is called /ftpfiles, also in the protected directory.. the path being /ftp/ftpfiles - this way both the upload page and the uploaded files have some protection.
However when I try to do an upload I get the following error:
Warning: move_uploaded_file(/advert1v4.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/l/p/lpswoodbank/public_html/WA_DigitalFilePro/HelperPHP.php on line 176
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpdsAXBU' to '/advert1v4.jpg' in /home/l/p/lpswoodbank/public_html/WA_DigitalFilePro/HelperPHP.php on line 176
Is this because I need to allow the upload proceedure past the htaccess protection.? If so, how do I do that please.
3. The line
$WA_ImageContentTypes = "image/gif,image/jpeg,image/pjpeg,image/x-png,image/png";
I am assuming controls what file types can and can't be uploaded. If I want to allow other image types such as .cdr .tif .tiff .pdf etc.. do I just need to add these to this line i.e.
$WA_ImageContentTypes = "image/gif,image/jpeg,image/pjpeg,image/x-png,image/png,image/cdr,image/tif,image/tiff,image/pdf";.. and so on.
Loving the software but on a steeeep learning curve with some of the more technical aspects of it.