Yeah I tried that but it still doesn't work
PHP Code:
$cookie_salt="kba1j5MmRINZnEnhOEtWrptt0V1ej";
$cookie_password_salted=md5($pass.$cookie_salt);
$useragent=$_SERVER['HTTP_USER_AGENT'];
$userip=$_SERVER['REMOTE_ADDR'];
$vbidhash=md5($_SERVER['HTTP_USER_AGENT'].$userip);
$vbsessionhash=md5(uniqid(microtime(), true));
$session_time=time();
$cookie_expire=31536000;
$site_domain="mydomain.com.au";
$url_path="/forum";
setcookie('bb_lastvisit',$session_time,$cookie_expire,$url_path.'/',$site_domain);
setcookie('bb_lastactivity',0,$cookie_expire,$url_path.'/',$site_domain);
setcookie('bb_sessionhash',$vbsessionhash,$cookie_expire,$url_path.'/',$site_domain);
setcookie('bb_userid',1,$cookie_expire,$url_path.'/',$site_domain);
setcookie('bb_password',$cookie_password_salted,$cookie_expire,$url_path.'/',$site_domain);
The $site_domain I tried as the domain of the forum, and the URL I'm using the login script on, but no joy.