I think I know how to do this now, thanks to the hear me chat hack, the hack uses a code like this, on a php stand alone file:
Code:
<?
require("global.php");
if ($bbuserid == 0)
{
eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");");
exit;
}
if ($bbusername == "" || (isset($bbusername))==0)
{
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid");
$username=$getusername[username];
$bbusername = $username;
}
else
{
$username = $bbusername;
}
eval("echo standarderror(\$bbtitle,\"".gettemplate("chat_hack")."\");");
?>
something like this would work, of course you'd have to do some editing, but it should be pretty easy, tehn save this as a .php file and there you have a login!