Hi,
I know we can set password to a sub directory using .htaccess file.
But i was wondering is there any way, like i can access the contents of the file from another webpage without being prompted for loging in.
But when i visit the folder explicetely using address, m asked to login.
EG:
Suppose the subdirectory is site.
and main page, index.php.(contains statement: include("site/xyz.php"); )
So dont want to be prompted for password when i enter: localhost/xampp/index.php
But password should be entered when someone enters : localhost/xampp/site
Any suggestions?
Thanks in advance.