PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Apparently everything I put in "public_html" will be seen by online viewers as my site. As I want to have clients access their images via a password system, someone advised me to have a folder outside this to store the images and have php load the images via a path to that folder...that way no unauthorised access can happen.
If I was to do this, do I just add another folder to the folders here. Example, add the folder /Clients/Weddings/Smith/
As you can see I am fairly new to PHP...but I want to do it properly.
as you can see those files are "system files" like mail, I wouldn't recommend mixing up these folders with user folders. What's wrong with putting them in public_html/ or www/ with a simple password?
Agreed with Phenom, .htaccess is probably the only way to go for full protection. (short of some kind of secure activeX / java viewer) It is a pain I know.