Search found 5 matches

by v1rax
Tue Jan 15, 2008 5:02 am
Forum: Tips & Tricks
Topic: User authentication
Replies: 8
Views: 1525

Re: User authentication

hey thanks something like this did it! :D

Code: Select all

    
$result = mysql_query("select password from jos_users where username='$username' limit 1");
$passw = explode(":",mysql_result($result,0));
$after_sqlt = $passw[1];
by v1rax
Sun Jan 13, 2008 2:46 am
Forum: Tips & Tricks
Topic: User authentication
Replies: 8
Views: 1525

Re: User authentication

the original salt is stored as "hashed password:original salt" in the password field.. how can I get the original salt without getting the hased password too.

Thanks for helping :D
by v1rax
Sun Jan 13, 2008 2:33 am
Forum: Tips & Tricks
Topic: User authentication
Replies: 8
Views: 1525

Re: User authentication

hmm I'm having some problems.. I'm thinking that I'm going to have to  do the same "md5 ($password.$salt):salt" with the user input from the login form to be able to compare it with whats in the db. this would result in the creation of a different salt.. or is there a way to decrypt the db info...
by v1rax
Sun Jan 13, 2008 2:21 am
Forum: Tips & Tricks
Topic: User authentication
Replies: 8
Views: 1525

Re: User authentication

ok lets say I creat a user with this info ... username:test password:test  then delete that user and remake with same info .. would it have the same salt and  hash as the first one?

oh and I understand what to do with comparing the values now... thanks
by v1rax
Sat Jan 12, 2008 6:26 am
Forum: Tips & Tricks
Topic: User authentication
Replies: 8
Views: 1525

User authentication

hello I'm making a application that will be hosted on the different server from my joomla installaion. I want this application to use my joomla user DB. so far I've finished the registration system .. works perfect (reged users from the remote server login without problem on joomla). I figured out h...