Hi,
My website will give users the option to upload photographs which will be displayed on the website.
Before a user can do this they must register or be logged in to their account.
I will be using a shared hosting environment.
My script does check the file size and type and only allows .jpg .gifs and .png.
I need to set global permissions, is there a way of defining a registered user as the owner so that I only need apply owner permissions of 700 rather than setting at 777?
My other concern is that the files that I upload the photos to is also the one that I link to from my web pages to display the images, should I be copying the uploaded images to another file then linking to that one to display the images?
Hope I am making sense.
Thank you in advance for your help and information.