Previous Thread
Next Thread
Print Thread
Rate Thread
#211785 09/17/2001 11:34 AM
Joined: Dec 1999
Posts: 158
Enthusiast
Enthusiast
Offline
Joined: Dec 1999
Posts: 158
we're in the process of programming a custom profile section for our site, which should utilize the same username / password combination for login as the message board.

our programmer tried the crypt() function to read existing pw's and insert new users, but the results seem to differ from what's already in the w3t table.
is there any special logarithm used or how does it work?

thanks in advance

Sponsored Links
Joined: Aug 2000
Posts: 262
Enthusiast
Enthusiast
Offline
Joined: Aug 2000
Posts: 262
i don't think it does, it just crypts the typed in password and matches it up with the one in teh db.

if (crypt($Password,$passindb) == $pass) {
echo "logged in?";
}

i think?

Joined: May 1999
Posts: 90
Member
Member
Offline
Joined: May 1999
Posts: 90
I think you actually meant:
if (crypt($Password,$passindb) == $passindb) {

Joined: Feb 2001
Posts: 20
User
User
Offline
Joined: Feb 2001
Posts: 20
Take a look at the following url :
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/latest/crypt/

The crypt.c library implemented in that source is the same one that is implemeted under php. We have successfully implented this algorithm with one of our programs (take a look at its licensing though), and have been able to check against passwords successfully.



= Jim =

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)