One script is VBulletin.
I am using the plugin to add the user to the other script. I can add the data no problem but I think it would be pointless add the script. Here is my code in the plugin but If you do not know Vbulletin there is little to no point.
require_once('./global.php');
$tm_email = & $vbulletin->userinfo['email'];
$tm_passy = & $vbulletin->userinfo['password'];
$db->query_write("INSERT INTO new_field (email, password, accTypeID, country) VALUES ('$tm_email', '$tm_passy', '1', '222') ");
Hope can advice further.
Lee