![]() |
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! |
Ehm... what exactly do you mean by retrieve?
Retrieve it from the .htpasswd file, from a database or from the user? |
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.
|
Quote:
|
well hell, that was sposed to be an Edit to change encrupted to encrypted....
must be getting early or late |
Quote:
|
Quote:
|
Look for a htaccess auth class module for php, there are a few out there try www.phpclasses.org
|
Quote:
welcome. |
All times are GMT -7. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123