troubleshooting Question

How to implement simple password protection with PHP

Avatar of nodreads1926
nodreads1926 asked on
Web DevelopmentPHPScripting Languages
13 Comments1 Solution473 ViewsLast Modified:
Im trying to implement the maxSiteProtector PHP script on my website. http://www.phpf1.com/product/site-protector-script.html 

STEPS SO FAR
1.      Ive included the maxProtector.class.php file, and style folder in the same folder as my HTML files for my site.

2.      I have added the following line to my HTML files: <?php require_once("maxProtector.class.php"); ?>

3.      I have confirmed php is enabled by my hosting site by accessing www.mysite.net/html/maxProtector.class.php via my browser and seeing the same screenshot as on the product page above AND by creating and viewing a  hello world echo script.

EXPECTED RESULT
I now expect entry to my pages at  www.mysite.net to require a password, but they dont.  

QUESTION
What am I doing wrong?

I've renamed the php file to .txt for upload and attached it.
maxProtector.class.txt
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros