Jump to content

Recommended Posts

I have been trying to implement the method of password protection given here onto a page on one of my sites. Once I downloaded the file, I opened it with notepad and changed the login and password to what I wanted them to be. I believe I left all other settings default. I then tried to open the script with the help parameter in internet explorer and it asked me to open or save the script. If I choose open, it opens with dreamweaver. If I use firefox, it displays some code jibberish, the actual login and passward fields, and some more code jibbersih. I cant find the code to put in my page in any of that. I then tried using the example code on the page where I acquired the script from, except I changed the file location to the directory where mine was saved. I pasted this as the first line of code and as the first line under <body>. No good. Can someone tell me what I'm doing wrong? Also, if someone knows of a better (free) method of password protection, I am open to suggestions. Thanks ahead of time!

Link to comment
https://forums.phpfreaks.com/topic/111144-trouble-with-password-protection/
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.