spiderdan Posted June 20, 2008 Share Posted June 20, 2008 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 More sharing options...
spiderdan Posted July 5, 2008 Author Share Posted July 5, 2008 Wondered why I never received a reply, I forgot to post the link to the site where I got my password protection from. http://www.zubrag.com/scripts/password-protect.php My apologies. Link to comment https://forums.phpfreaks.com/topic/111144-trouble-with-password-protection/#findComment-582522 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.