you need php5 to run this script
key should not be a problem, you can call the functions direct $test=new VBSOAP();
$result=$test->doLogin(KEY, .....);
sorry but i dont have enouth time at the moment to make the script php4 conform
i dont know why you get html code, the script dont produce any html outputs
try to update to php5, its a easiest way to get this script working