$pw = $vbulletin->userinfo[password]; $string = md5($pw); $h =& $vbulletin->input->clean_gpc('r', 'h', TYPE_UINT); if ($_REQUEST['do'] == 'unsub') { if (md5($h) === $string) { echo 'correct'; } else { echo 'incorrect'; } }