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

Ò»¸öASP¼ÓÃܺ¯ÊýµÄÆæ¹ÖÎÊÌ⣡¡¾100·Ö¡¿

Function EnCrypt(m) 
Dim str
Dim c
Dim strChar,iKeyChar,iStringChar,I 
str="17£¬43£¬43£¬23"
A_Key=split(str,",")
k=0 
for I = 1 to Len(m) 
iKeyChar =Cint(A_Key(k)) 
iStringChar = Asc(mid(m,I,1))
iCryptChar = iKeyChar Xor iStringChar
If k <3 Then 
k=k+1 
Else 
k=0 
End If 
c = c & Chr(iCryptChar) 
next 
EnCrypt = c 
End Function 

Õâ¸ö¼ÓÃܺ¯ÊýÎÒ·ÅÔÚASPÖеõ½µÄ¼ÓÃÜ´®ºÍÎҷŵ½VBÖеõ½µÄ¼ÓÃÜ´®²»Ò»Ñù£¿²»ÖªµÀÊÇʲôÎÊÌâ

Õâ¸öÊÇÎÒÔÚvbÖÐÓõÄ
Function EnCrypt(m As String) As String
Dim str
Dim c
Dim strChar, iKeyChar, iStringChar, I
str = "17," & Month(Now) & "," & Day(Now) & "," & Hour(Now)
A_Key = Split(str, ",")
k = 0
For I = 1 To Len(m)
iKeyChar = CInt(A_Key(k))
iStringChar = Asc(Mid(m, I, 1))
iCryptChar = iKeyChar Xor iStringChar
If k < 3 Then
k = k + 1
Else
k = 0
End If
c = c & Chr(iCryptChar)
Next
EnCrypt = c
End Function

´ó¼Ò¿ÉÒÔÊÔÊÔ¡£×Ö·û´®³¬¹ý300¸öºÃÏñ¾Í³öÎÊÌâÁË£¡²»ÖªµÀÊDz»ÊÇASPºÍVB²»ÄÜÕâһת¡£

ÕâÀïÊǽâÃܺ¯Êý¡£´ó¼Ò¿ÉÒÔ×Ô¼º²âÊÔÒ»ÏÂ

Function DeCrypt(c As String)


Ïà¹ØÎÊ´ð£º

Ç뾫ͨasp³ÌÐòµÄÅóÓѰïæÐÞ¸ÄÍøÕ¾

ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......

Ò»¶Îaspתphp

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

³õʶasp,Çë¸ßÊÖÖ¸½Ì

ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......

¹ØÓÚASPµÄReplaceº¯Êý

Replaceº¯ÊýÈçºÎĬÈÏÊÇ´Ó×ó¶ËÌæ»»£¬ÈçºÎʹÆä´ÓÓұ߿ªÊ¼Ìæ»»£¬¼´Ìæ»»Ò»¸ö×Ö·û´®µÄ×îºóÒ»¸ö×Ö·û£¬Ìæ»»´ÎÊýΪ1´Î£¬Ð»Ð»

ÒýÓÃ
VBScript code <%
Response.Write ReplaceRev("abcdefXXXghi"," ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ