|
Author |
Message |
Daniel
Team Member


Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Jan 15, 2003 8:09 pm (22 years, 3 months ago) |
  |
I have completely recoded the .htpasswd Encryption Tool, available at http://www.4webhelp.net/us/password.php, as the old one was coded in Perl, which meant we couldn't integrate it with the site's design.
Please let me know if you find any bugs, or have any comments/suggestions. |
________________________________
 |
|
    |
 |
adam
Forum Moderator & Developer

Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Thu Jan 16, 2003 6:19 pm (22 years, 3 months ago) |
  |
ahh...now that's much better  |
________________________________ It's turtles all the way down... |
|
     |
 |
Iyonix
WebHelper


Joined: 12 Nov 2002
Posts: 82
Location: Yarm, England
|
Posted:
Thu Jan 16, 2003 9:48 pm (22 years, 3 months ago) |
  |
Any chance of seeing the source code to find out how you do that? |
|
|
    |
 |
Daniel
Team Member


Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Fri Jan 17, 2003 7:05 am (22 years, 3 months ago) |
  |
Actually the "core" encryption code was given to me by Adam.
Code: | function get_encrypt_pw ($password) {
mt_srand( (double)microtime() * 1000000);
$salt = mt_rand (100000000, 999999999);
return crypt($password,$salt);
}
|
The rest is just layout, error catching, etc... |
________________________________
 |
|
    |
 |
adam
Forum Moderator & Developer

Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Fri Jan 17, 2003 6:15 pm (22 years, 3 months ago) |
  |
yeah, and I can't remember who gave it to me...so if whoever wrote it ever reads this, thanks  |
________________________________ It's turtles all the way down... |
|
     |
 |
jayant
Team Member


Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Fri Jan 17, 2003 7:03 pm (22 years, 3 months ago) |
  |
|
       |
 |
|
|
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.
|
Page generation time: 0.121772 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |