PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
southern
Client


Joined: Jan 29, 2004
Posts: 529
Location: Texas

PostPosted: Mon Mar 10, 2008 1:01 pm Reply with quote Back to top

I came across this interesting article about logging with PhP .htaccess and ..htpasswd Basic auth login attempts
Only registered users can see links on this board!
Get registered or login to the forums!

I'd like to add this to my admin tools but I'm not sure how to set it up so I'd appreciate insite.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

PostPosted: Mon Mar 10, 2008 4:50 pm Reply with quote Back to top

Since I am not familiar with it (until now) I don't think I can offer any insight beyond what the article does. Is there something specific that you have a question?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
southern
Client


Joined: Jan 29, 2004
Posts: 529
Location: Texas

PostPosted: Mon Mar 10, 2008 5:17 pm Reply with quote Back to top

Specific? Well, the part
Code:

$password=base64_decode(str_replace('Basic ','', $_SERVER['HTTP_AUTHORIZATION']));
echo $password;

below
Quote:

This is the php code you can use to show the decrypted password that was sent by the client.

would go where. I think this is a good idea and I'm gonna try and set it up.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

PostPosted: Mon Mar 10, 2008 5:27 pm Reply with quote Back to top

According to the article

Quote:
1. create a file called login.php in your /cgi-bin/ and copy to /
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gremmie
Moderator


Joined: Apr 06, 2006
Posts: 2322
Location: Iowa, USA

PostPosted: Mon Mar 10, 2008 5:36 pm Reply with quote Back to top

If you have access to webalizer (stats program), I believe it also logs logins and passwords for you.
View user's profile Send private message
southern
Client


Joined: Jan 29, 2004
Posts: 529
Location: Texas

PostPosted: Mon Mar 10, 2008 6:29 pm Reply with quote Back to top

OK thanks Raven

I have access to webalizer, Gremmie, I just like to fool around with .htaccess and the like.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum