Zubrag.com
September 20, 2018, 08:59:49 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: Problem getting password protect to work.  (Read 3517 times)
Bigmac_
Newbie
*
Posts: 1


« on: July 26, 2013, 05:53:43 PM »

Hi all,

Maybe some of you can help me here.

On my server i have a folder under /public_html called pp and i put the password_protect.php file in there. I then have a subdomain which i would like to password protect just for my staff. I have created the index.html file and put it in that folder. Here's what it looks like:

<?php include("/pp/password_protect.php"); ?>

<html>
<title>Staff Information</title>
<body>
<h2>Staff Info (INTERNAL USE ONLY!)</h2>

When i run it, it doesnt prompt me for any password and goes right in. Can anyone tell me why?

If you would like to email me directly you can do so at chris.cataldo@gmail.com

Thanks,
Chris

Logged
Pages: [1]
  Print  
 
Jump to:  

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