Still no docs... Sorry and feel free to ask any questions in support forums :)


 Hacker Hunter content protection system v. 1.0 Light
 May 2003

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Free for non-commercial use.
You can't remove link to http://www.polar-lights.com/hackerhunter/ from main login page.
If you want to remove link or use scripts for commercial proposes, please check
http://www.polar-lights.com/hackerhunter/price.php for details
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You can get free copy of Hacker Hunter Pro if:
1. Your site located in East Europe or China, and you are able to send mail to bear@polar-lights.com in correct 
Russian language, using koi8-r charset with correct headers. (at least 2 words in sybject and 10 in body of letter)
2. You are able to translate language file and templates in any language and send files to alex@polar-lights.com
In any case you will have to keep link to http://www.polar-lights.com/hackerhunter/ on main login page.
Please contact www@polar-lights.com for details.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


 Authors:

 Idea and scripting:
 Ilya Rudev			Email: www@polar-lights.com

 Scripting:
 Alex Shurchin		Email: alex@polar-lights.com
 Ilya Medvedev		Email: bear@polar-lights.com

 Scripting and testing:
 Boromir Svatnov		Email: nox@polar-lights.com
 Victor Nesterov		Email: viks@polar-lights.com
 Wiktor Zlavski		Email: sensei@polar-lights.com

 Logo, images and templates:
 Alena Shurchina		Email: star@polar-lights.com

 Company:			Polar Lights Labs
 Website:			http://polar-lights.com/
 Support forum	http://www.polar-lights.com/forums/

# [Require]:
#
# > Any Unix or Windows NT/2000/XP system (Windows 98/Me is supported, but not recommended)
# > Pentium 200 or better CPU
# > MySQL server v.2.2.xx or better
#
# >>> For first protection mode:
# >> Apache web server (or any other server with mod_access and mod_auth functionality support)
# >> mod_access Apache module
# >> mod_auth Apache module
# >>AllowOverride settings (for 3 working folders) in httpd.conf must allow the following .htaccess directives :
#    -Order
#    -Allow
#    -Deny
#    -Require
#    -ErrorDocument
#    -Files
#    -AuthUserFile
#    -AuthGroupFile
#    -AuthName
#    -AuthType Basic
#
# >>> For second protection mode (experimental):
# >> Apache web server (or any other server with mod_access and mod_rewrite functionality support)
# >> mod_access Apache module
# >> mod_rewrite Apache module
# >>AllowOverride settings (for 3 working folders) in httpd.conf must allow the following .htaccess directives :
#    -Order
#    -Allow
#    -Deny
#    -ErrorDocument
#    -Files
#    -RewriteEngine
#    -Options +FollowSymlinks
#    -RewriteBase
#    -RewriteRule
#    -RewriteCond
#
# > PHP 4.03 or better, but with custom mysql sessions (with use_php_sessions set to 0 in config.inc.php) 
#      it must work on most PHP3 and 4 systems.
# > mail() function support (PHP must be able to send mail)
#     Note: while testing under Windows, EzMTS from http://www.ezmts.org/ was used as SMTP server
# > crypt() function support in PHP on unix systems (under win32 script use htpasswd.exe system call). 
#     PHP must be able to generate passwords compatible with current server mod_auth module)
# > magic_quotes_runtime in php.ini must be set to Off
#
# > Do not require register_globals=On in php.ini
#
# > Do not require session functions support in PHP on server (with use_php_sessions set to 0 in config.inc.php)

!!! Scripts will work with any settings of magic_quotes_gpc, but it is HIGHLY RECOMMENDED 
!!! to set this value to On (default value in latest versions is Off, and it is dangerous)

 + Tested with several official PHP 4.xx.xx builds:
 4.0.2, 4.0.5, 4.0.6, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.2, and 4.2.3
 compiled with standard options set, under:
    Linux Mandrake 2001 and RH7
    Apache 1.3

 + Tested with 3 binary distributions of PHP 4.xx.xx for win32
 4.0.6, 4.1.2, and 4.2.3 under:
    Windows 2000 Server
    Apache 1.3 and 2 with PHP as CGI binary

 - Testing on Apache2 under Linux failed, because it is unstable and not offically supported.


[Installation]
-----------------
- upload on server "upload/login" folder. Feel free to rename it or place inside other folders
- if you already have protected folder upload .hthunter, .htaccess, hackerHunter_logo_sm.gif files in it. Or, if you have no protected area upload whole "protected" folder and chmod that folder to 755.
- chmod to 666 .htaccess and .hthunter files in protected folder
- edit 401.htm. Link must follow to login.php page.
- edit config.inc.php and please set db_name variable to existing DB name
- upload files from login folder on server, chmod folder to 755 and everything inside to 644
- chmod to 666 the following 3 files inside login folder:
	login\error.log
	login\admin\.htaccess
	login\admin\error.log
Note: "error.log" is default log file name. You can set anoter name using errors_file variable from config.inc.php, but in that case you will have to create and chmod to 666 log files with new name in both folders
- open install.php from login folder in browser
- to strat protecting protected folder you have to:
1. login as administrator
2. create some normal user
3. logout and login as normal user
-----------------

[Upgrade from early betas]
-----------------
Since beta 0.98 Hacker Hunter have new database structure. 
To import users from early Hacker Hunter betas, place upgrade.098.php (from extra folder) 
in same folder with login.php and open it from browser.

[Upgrade from beta 0.99]
-----------------
Hacker Hunter beta 0.99 and Pro have same users database structure. So, you don't need to import users, 
just upload new scripts and templates (you may keep your custom templates),
place upgrade.099.php (from extra folder) in same folder with login.php and open it from browser.

[Remote system] [available only in Pro version]
-----------------
Allow you to Add/Expire (remove rebill flag)/Deactivate/Remove users from user table
Remote server must call remote.php and IP of remote server must be described in remote rules.
In case of remote add, user must return to register.php?r=1 and use as pin value of one of 
POST or GET variables send to remote.php by remote server.
-----------------

[Templates]
-----------------
You may edit template files (all .htm files) using any HTML or text editor
In templates code you may use #variable_name# combinations. For example if you have somewhere variable
$somevariable
it is possible to display value of this variable in any page generated from templates by that page. 
It is enough to insert  
#$somevariable#
or
#$somerecordset[field]#
or
#$somerecordset[$variable]#
in any part of HTML code for displaying :)
-----------------

[Language files]
-----------------
Please check "language" variable in config.inc.php. 
Now it is easy to add new language support to HH. For example if you want to have French language, then:
- in config file say define (language, "fr");
- translate language.en.inc.php, and save it as language.fr.inc.php
- create subfolder "fr" in "templates" folder and put there all translated templates
-----------------

[LICENSE]
-----------------
Scripts, ideas, software name and logo were created by "Polar Lights Labs" Co. and Ilya Rudev. 
You can modify scripts and uptate them for your own requirements, but can't distribute this software
And please leave link to http://www.polar-lights.com/hackerhunter/ in this file :)
The authors CAN NOT BE and WILL NOT be responsible for any direct or indirect damages caused by the using of this software.
-----------------