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!
One of my directories in my server is password protected. Inside there are files that I do not want people to freely access. But I want to be able to use PHP code to retrieve a file once in a while and do stuff with it. How do I do that?
PHP can access the files in that directory using include() or fopen() within a script. Just specify the path to them like any other file. The .htaccess file only protects access via the web server.