Spiffy looking tool I must say. I'm poking through it currently and encountered a problem with logging in, myself.
You see, I set the EQ Profile Editor up in a subdirectory of a folder that already has Apache basic authentication. When my browser hits the Profile Editor, it then passes the credentials for the previous authentication which don't match the editor.
I removed the auth check in search.php and modified the check in header.php to this simple login form that uses sessions:
Code:
<?php
include("includes/global.php"); // This already existed, to give an idea of where I added this..
session_start();
if( isset($_REQUEST["user"]) && isset($_REQUEST["pass"])){
$_SESSION["username"] = $_REQUEST["user"];
$_SESSION["password"] = $_REQUEST["pass"];
}
if( $_SESSION["username"] != $cfg['login']['username'] || $_SESSION["password"] != $cfg['login']['password']): ?>
<html>
<title>EQ Editor: Login</title>
<body>
<form action="" method="POST">
<label>Name:</label><input type="text" name="user" value="Username" onFocus="javascript:this.value=null;"><br/>
<label>Pass:</label><input type="text" name="pass" value="Password" onFocus="javascript:this.value=null;"><br/>
<input type="submit" value="Submit">
</form>
<?php die(); endif;
Works for me, feel free to take and modify for your needs.