GetProperty('C_Config_Ports_Control'); $com->Release(); $com=null; if($controlport) { setcookie ("wm_nonsslport", $controlport,time()+31536000); //1 year $otherconfig['NONSSLPORT']=$controlport; } } $vhost='http://'.str_replace(':'.$_SERVER['SERVER_PORT'],'',$_SERVER['HTTP_HOST']).':'.$otherconfig['NONSSLPORT']; //switch to non-ssl mode because JS variable passing header("location: $vhost".$_SERVER['PHP_SELF']."?id=".$id); exit; } else $vhost='http://'.$_SERVER['HTTP_HOST']; ?> Welcome to JWChat
: