Zubrag.com
August 20, 2018, 10:44:23 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: protect an html page  (Read 6916 times)
timholt
Newbie
*
Posts: 8


« 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. Huh

Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #1 on: January 19, 2008, 03:40:21 PM »

The script can only protect php pages.

Maybe html protector would help in your case.
Logged
timholt
Newbie
*
Posts: 8


« Reply #2 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC