Zubrag.com :: Forum

zubrag.com => Password Protect Advanced => Topic started by: timholt on January 19, 2008, 06:09:37 AM



Title: protect an html page
Post by: timholt on January 19, 2008, 06:09:37 AM
I am trying to protect an html page but the line of code provided, <?php include("/protect/login.php"); ?> does not seem to work with html.
Is there a way to protect an html or does this script only protect php. ???


Title: Re: protect an html page
Post by: zubrag on January 19, 2008, 03:40:21 PM
The script can only protect php pages.

Maybe html protector (http://www.zubrag.com/tools/html-password-protector-encoder.php) would help in your case.


Title: Re: protect an html page
Post by: timholt on January 21, 2008, 03:39:00 PM
If you have an html page you want to protect with this script, just convert the html page to php and the script works perfectly.