Contributions
authorize admins using htaccess
This contribution is a admin interface to add and remove users who can access admin-pages. It does this by creating a .htaccess file and a userfile in wich the admin-users and their encrypted password is stored. Apache reads the access file and prompts for username and password, when trying to access a file in the admin area.
Expand All / Collapse All
This is corrected way to make Admin ID and Password.
I try other one but that is too hard and made problem. But this is really nice.
But the STEP 3 is just little bit different, not Near Line 83 but below as;
Line 82 : define 'FILENAME_AUTHORIZE', 'authorize.php');
Line 83 :
// check to see if php implemented session management functions - if not, include
php3/php4 compatible session class
Line 84 :
if (!function_exists('session_start')) {
Please use without any problem.
Happy New year 2004....
James Cho
authorize_admin_by_htaccess1.1 in a german version.
***
authorize_admin_by_htaccess1.1 in der deutschen Version.
Corrected description of installation.
This contribution is a admin interface to add and remove users who can access admin-pages. It does this by creating a .htaccess file and a userfile in wich the admin-users and their encrypted password is stored. Apache reads the access file and prompts for username and password, when trying to access a file in the admin area.
Note: Contributions are used at own risk.