Can PHP tell if the dir a script is running in is secured?
Posted: Thu Jan 14, 2010 7:39 am
How can a PHP script determine if it is running in a directory secured by Apache? That is, has the user been challenged to enter a username and password to enable Apache to serve pages from a directory secured by it's .htaccess file with "AuthType Basic" etc. directives.
Thanks in advance.
Pete
Thanks in advance.
Pete