Home / Software / vBulletin / How can I authenticate a user in my vbulletin database from a php script?
How can I authenticate a user in my vbulletin database from a php script?
Last updated: 02/08/2012
Here's a php
snippet that connects to your vbulletin database and checks a username / password against it. This is useful for having other scripts on your site authenticate users against the same registered user list as vbulletin.
if($results['password'] != '' && $results['password'] == md5(md5($password).$results['salt'])) { // this is a match } else { // this is not a match } ?>