This topic is locked

switching to encrypted passwords

1/21/2007 10:59:58 AM
PHPRunner General questions
V
vivek author

Hi there,
I can remember seeing a post in the past with a php script you could run once to encrypt all your passwords in case you switch to encrypted passwords on an existing application. I've been looking for it for more than an hour now but can't find it. Can someone tell me if this still works for 3.1 and if so where I can download it ?
Thanks,
Vivek

J
Jane 1/22/2007

Vivek,
there is the link to the "HowTo: Encrypt Passwords in a Database" article:

http://www.xlinesoft.com/articles/encrypt_passwords.htm

V
vivek author 1/22/2007

Thankyou for the refference, I tried the script and get the following error. I am using 3.1 build 202 am I doing anything wrong :
Fatal error: Cannot redeclare db_connect() (previously declared in /home/iisemsc/public_html/demo/app/include/dbconnection.php:5) in /home/iisemsc/public_html/demo/app/include/dbconnection.php on line 15
Thanks,
Vivek

J
Jane 1/22/2007

Vivec,
thank you for pointing me to this issue. We'll fix it in a day or two.

To make this script working commect following line in it:

include("include/dbconnection.php");