asp+xmlÁôÑÔ°åÄã·ÖÒ³ÎÊÌâ - Web ¿ª·¢ / ASP
VBScript code:
<%
strSourceFile=Server.MapPath("guestbook.xml")
Set objXML=Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
objXML.load(strSourceFile)
Set objRootsite = objXML.documentElement.selectSingleNode("NewList")
%>
<%
'ÿҳ´óС
pageSize=4
'ËùÓнڵãÊý
AllNodesNum=objRootsite.childNodes.length-1
'×ÜÒ³Êý
PageNum=AllNodesNum\PageSize+1
'µÚ¼¸Ò³²ÎÊý
PageNo=request.querystring("pageNo")
if PageNo=""then
PageNo=PageNum
end if
'¿ªÊ¼½Úµã
StarNodes=PageNo*PageSize-1
'½áÊø½Úµã
EndNodes=(PageNo-1)*PageSize
if EndNodes<0 then
EndNodes=0
end if
'ÅжÏÆðʼ½ÚµãÊÇ·ñ³¬¹ý×ܽڵãÊý
if StarNodes>AllNodesNum then
EndNodes=EndNodes-(StarNodes-AllNodesNum)
StarNodes=AllNodesNum
end if
if EndNodes<0 then
EndNodes=0
end if
while St
Ïà¹ØÎÊ´ð£º
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......
´ó¼ÒºÃ£¬ÎÒÏÖÔÚÓÐÒ»¸öÓÃaspдµÄÁÄÌìÊÒ£¬ÏÖÔÚµÄÏëÌí¼ÓÒ»¸ö¹¦ÄÜ£¬¾ÍÊǵ±ÓÐÈËÉÏÏßµÄʱºò£¬·¢³öÌáʾ£¬±ÈÈçÉùÒôÏìһϣ¬ÏÖÔÚÏëÓÃjavaʵÏÖÕâ¸ö¹¦ÄÜ£¬ÇëÎÊ´ó¼ÒÔõôʵÏÖ£¿
ллÁË£¬ÎÒ»á¼Ó·ÖµÄ
aspºÍjavaÕûºÏµ½Ò»ÆðÈ¥£¿ºÎ±Ø ......
¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ
ÓÐûÓÐÈË¿ÉÒÔд¸öÀà¡£
²¢Ïêϸ½âÊÍһϣ¬±¾È˺ܲ»Àí½â32λmd5
C# code:
public string md5(string str,int code)
2{
3 if(code==16) //16λMD5¼ÓÃÜ£¨È¡32λ¼ÓÃܵÄ9~25× ......
ASPÎļþÀÏÊDZ»È˲åÈë´úÂ룬ºÜ¶àÀ¬»øµØÖ·±»¹ÒÉÏÈ¥£¬ËÄÜ°ï°ïÎÒ£¿
¸æËßÎÒ©¶´ÔÚÄÄÀÎÒµÄQQ 33186001
¹Ø±ÕÍøÕ¾µÄfso¡£ÓõÄʱºòÔÚ¿ª¿ª¾ÍÊÇÀ²¡£
ÏÖÔÚµÄÐéÄâÖ÷»úÓɶÁдȨÏÞ£¬ÉèΪֻ¶Á¼´¿É¡£×Ô¼ºÓÃÓÃftpµÄʱºòÔÚ¿ª¿ª¡£ ......