Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Protect a PHP file.

Status
Not open for further replies.

tijerina

Vendor
Joined
Mar 4, 2003
Messages
132
Location
US
I have an admin tool on my php website. I need to password protect the directory where this php file resides. How do I do this?

If .htaccess or .htpasswd is suggested, can somebody go by the numbers in explaining this to me or point me to a good site that can offer detailed (gerber fed) instructions?

Thank you so much for your time.

The goal:

When i go to my admin tool via my website, such as..

I want to be prompted to endter a user id or password.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top