Greetings -
I've put the password_protect script in its own dir and I'm using it to protect many PHP files.
All works great in FireFox - but IE always prompts for a password?
My main index.php file starts like this (where pp.php is the protect script)
<?php
error_reporting(E_ALL);
session_start();
include("/var/www/pwd/pp.php");
and other php files have this as the first line:
<?php include ("/var/www/pwd/pp.php"); ?>
so sick of ie I could hurl ...
If I try and cram all the functionality into one file I can get IE to work with the PWD PROT script in a different dir than the PWD PROT script - but not when I try and use other files.
BTW, including the script multiple times gets warnings on redclaring the defines (constants), like this:
define('TIMEOUT_MINUTES', 30);