Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

htmlµ÷ÓÃasp³ö´í

Language.asp:
<%
Response.write(Request.ServerVariables("http_accept_language"))
%>

js:
var xmlHttp;
function createXMLHttpRequest() {
    if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }
}

function startRequest(callback) {
createXMLHttpRequest();
xmlHttp.onreadystatechange = function() {handleStateChange(callback);};
xmlHttp.open("GET", "http://172.172.172.172:85/Language.asp", true);
xmlHttp.send(null);
}

function handleStateChange(callback) {
if (xmlHttp.readyState == 4){
        if (xmlHttp.status == 200){
            var objj = xmlHttp.responseText;
        }}
}

Õâ¸öÊÇÔÚhtmlÖе÷ÓÃaspÒ³ÃæÖзµ»ØµÄÖµ£¬ÎÊÌâ³öÏÖÔÚjsµ÷ÓÃÖ®ºó·µ»ØÊ±³öÏÖÁË£º'zh'䶨Òå
²»ÖªµÀ´íÎó³öÔÚÄÄ Ï£Íû´ó¼Ò°ïæ
ûÓÐÈËÂð£¿

ûÕÒµ½zh.....

Èç¹ûxmlhttp²»ÊÇ¿çÓò·ÃÎÊLanguage.aspµÄ»°£¬ ´úÂëûʲô´í¡£
objj¿ÉÒԵõ½×Ö·û´® zh-cn
Èç¹û Ö®ºóµÄ´úÂëÊÇeval(objj)µÄ»°£¬ÄÇô»á³öÏÖ 'zh'䶨Òå´íÎó

ÒýÓÃ


Ïà¹ØÎÊ´ð£º

ASPÅжϵÄÎÊÌâ,ÓôÃÆÁË!Åжϲ»³öÀ´!

HTML code:

dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

aspÒ³Ãæµ÷ÊÔÎÊÌâ

½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£


µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£

¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£

¶÷ÔõôȡÏûÄØ£¿

Òªµ ......

aspµ÷ÓÃDLL·µ»ØrsµÄÎÊÌâ

²ÉÓÃÈý²ã£¬ÎÒÖ»ÌùÏà¹Ø´úÂë
SqlHelper²¿·Ö
VBScript code:

Public Function getObjRs(Sql)
Set objRs = New ADODB.Recordset
objRs.Open Sql, objConn, 1, 1
Set getObjRs = obj
End Funct ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ