I am new to PHP coding. I have a script that performs user authentication based on an LDAP. My proplem is I don't know how to invoke the script to run on the protected site. Right now we are using .htaccess files. So, the home page and supsequent pages are all protected by one log in. I want this to be true for my script. Right now it seems the script will only protect one page. Where do I place the php script and what do I need to do to make sure it is run whenever a user goes to any page within the site. For example, I want the script to prompt for a username and password when someone goes to www.example.com as well as when they go to www.example.com/pagetwo.html. But if they have already logged on once, I don't want them prompted again everytime they they link to another page on the same domain. Please be as specific as possible, as I am new to this. An answer such as place your script in the [place directory here] directory, and add this line of code ([line of code]) to your [page or pages] page, would be most appreciated. Thank you in advance for your help.