Hi,
I have the PHP file uploader installed to domain.com/upload
I have password protected this directory to prevent any unauthorised use of the script.
I would like to upload my files to domain.com/pdf - so the public can download them without having to login.
The obvious option was to change this line to;
//Where'd the files go?
$uploader->SaveDirectory="/pdf";
With the forward slash in front, this doesnt work. The site is only hosted on a basic shared hosting plan, nothing complicated, the files are located within public_html/ - I alaso tried /public_html/pdf
I just get a Invalid save directory error....
Any advice would be great?
Thanks,
N