![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jun 2002
Location: cloud number 9
Posts: 4,396
|
php coders : need a little help
How can I retrieve the username : password from a paysite members area in PHP?
I want to make a protection script, pls help. Thanks!
__________________
SEO Mogul | ICQ: 163671223 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Ehm... what exactly do you mean by retrieve?
Retrieve it from the .htpasswd file, from a database or from the user?
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
old school fart
Industry Role:
Join Date: May 2001
Location: Florida
Posts: 1,015
|
in php $_SERVER[PHP_AUTH_USER] will get you the username. You then would have to open the password file to get the "encrupted" password. If the password is stored in mysql somewhere then you can retrieve the unencrypted pass from there using the username you now have.
__________________
The next generation of SEO |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
old school fart
Industry Role:
Join Date: May 2001
Location: Florida
Posts: 1,015
|
Quote:
__________________
The next generation of SEO |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
old school fart
Industry Role:
Join Date: May 2001
Location: Florida
Posts: 1,015
|
well hell, that was sposed to be an Edit to change encrupted to encrypted....
must be getting early or late
__________________
The next generation of SEO |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Jun 2002
Location: cloud number 9
Posts: 4,396
|
Quote:
__________________
SEO Mogul | ICQ: 163671223 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Jun 2002
Location: cloud number 9
Posts: 4,396
|
Quote:
__________________
SEO Mogul | ICQ: 163671223 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Join Date: Dec 2002
Posts: 251
|
Look for a htaccess auth class module for php, there are a few out there try www.phpclasses.org
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
old school fart
Industry Role:
Join Date: May 2001
Location: Florida
Posts: 1,015
|
Quote:
welcome.
__________________
The next generation of SEO |
|
![]() |
![]() ![]() ![]() ![]() ![]() |