Contributions

Features (Category Index)
Search: 

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

Admin Login James Cho 30 Dec 2004

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

German Version / Deutsche Version Fuellemann Stefan 12 Jun 2004
Small correction Finn Roald Alden 12 May 2004
authorize admins using htaccess Kristian 12 Jun 2003

Note: Contributions are used at own risk.