I have some PHP and HTML pages that need to access some files (images files for example) and display them.
Where should I put these files? As I know that it is not recommended (for security reasons) to let the web pages access files in the file system of the server (like in the home directory for example).
I need to put the files (the images) in a folder where I have the rights to create new files.
You need to put files in virtual directory of your server, for example if you are using XAMPP then put your files in "htdocs" folder. if you are using WAMP then put your files in "www".