PDA

View Full Version : Md5


lesmith
07-14-2006, 08:45 PM
Hello Peeps

I am trying to intergrate a scripts with VB. I am adding the user data to the second script through the plugin system.

I have the data being installed to the second script no problem. But the password is different.

ie. If I have a password of "abcd1234"
in VB it stores it as "6f4719ffda3f5271dc765541571eca8c"
but my script stores it as "e19d5cd5af0378da05f63f891c7467af"

Any suggestion on how I can get these the same.

Here is my plugin script.


require_once('./global.php');

$tm_email = & $vbulletin->userinfo['email'];
$tm_passy = & $vbulletin->userinfo['password'];

$db->query_write("INSERT INTO customers (email, password) VALUES ('$tm_email', '$tm_passy') ");


Hope you can give some advice.

Lee