每一条都是踩过的坑
HTML字符实体转汉字,最简单的办法就是把数字变成hex,然后加上&u变成escape过的,用unescape就行了
泛域名解析 必须在默认网站设置主机头为空
没有2003系统用XP的mstsc也可以连接 运行 mstsc /v:IP /console 就可以连接到远程系统的的0会话, mstsc 还有很多参数 可以运行 mstsc /?来查看
如果索引是聚集索引,那么可以不用order by语句,获得更快得速度
function AJAX(){
//	var obj=Ajax.prototype;
	var p_ajax,p_callback,p_Id;
	function p_isIE(){
		var ua=window.navigator.userAgent;
		var msie=ua.indexOf("MSIE ");
		if(msie>0) msie=parseInt(ua.substring(msie+5,ua.indexOf(".",msie)));
		return msie;
	}
	function p_CAjax(){
		if(p_isIE()>0){
			try{return new ActiveXObject("Msxml2.XMLHTTP");}
			catch(e){
	  			try{return new ActiveXObject("Microsoft.XMLHTTP");}
				catch(e2){return null;}
			}
		}
		else if(window.XMLHttpRequest) return new XMLHttpRequest();
		else return null;
	}
	function p_onRcvData(){
		if(p_ajax.readyState == 4){
			if(p_ajax.status == 200){
				document.getElementById(p_Id).innerHTML = p_ajax.responseText;
				eval(p_callback);
			}
			else alert("Network Fault, please try again later!\n xmlHttp.status="+p_ajax.status);
		}
	}
	function p_onRcvXml(){
		if(p_ajax.readyState == 4){
			if(p_ajax.status == 200){
				if(p_callback.length>0) eval(p_callback+"("+p_ajax.responseXML+")");
			}
		}
		else{
			alert("Network Fault, please try again later!\n xmlHttp.status="+p_ajax.status);
			//document.getElementById(Id).innerHTML = ajax.status+"
"+ajax.statuText+"
"+ajax.responseText } } this.init=function(id,call){ p_ajax=p_CAjax(); p_Id=id; p_callback=call; } this.send=function(method,url){ if(!p_ajax) alert('Explorer is unsupport !'); else{ p_ajax.onreadystatechange = p_onRcvData; p_ajax.open(method,encodeURI(url),true); p_ajax.setRequestHeader("Content-Type","text/xml"); p_ajax.send(null); } } this.getXml=function(method,url){ if(!p_ajax) alert('Explorer is unsupport !'); else{ p_ajax.onreadystatechange = p_onRcvXml; p_ajax.open(method,encodeURI(url),true); p_ajax.setRequestHeader("Content-Type","text/xml"); p_ajax.send(null); } } }

一品网 闽ICP备07035197号-5