Zubrag.com
January 24, 2018, 01:33:43 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: password protection  (Read 6300 times)
alexsch
Newbie
*
Posts: 2


« on: January 21, 2007, 06:53:12 AM »

Hi, did I get it correct - that this script will only work to protect php webpages. So I cannot use it to protect my page if it is written in html?

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


WWW
« Reply #1 on: January 21, 2007, 09:14:21 AM »

yes, script can only protect php pages.

If php is not supported onyour server then script will not work.

If you have php installed you could try following:
1) just rename your html files to php (i.e. change extension)
or
2) make html pages work like php without changing extension

Otherwise you may want to look for some files/folder protection in your hosting manager (cPanel, Plesk, etc.).
Logged
alexsch
Newbie
*
Posts: 2


« Reply #2 on: January 22, 2007, 04:26:43 AM »

Thank you so much, admin! To be honest, I found this solution yesterday, browsing through your forum Smiley It worked for me, once I renamed the page needing protection to .php
Urrah!
Logged
Pages: [1]
  Print  
 
Jump to:  

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