答案:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ 超级+无敌--------XML+javascript+ASP在线短信息功能---介绍
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---------下面的文件就是处理回复信息的MISSYOU.ASP页,代码比较长,慢慢看看-----------
<%@EnableSessionState=False%>
<%
Option Explicit
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = 0
%>
<!--#include Virtual="/turbo/Inc/WriteXml.asp"-->
<%
Dim Dom
Dim Root
Dim MyID
Dim MyName
Dim ID
Set Dom = Server.CreateObject("Microsoft.XMLDOM")
MyID = Request.Cookies("MyID")
MyName = Request.Cookies("MyName")
If (Not IsNumeric(MyID)) or (MyName = "") Then
Call ShowError()
End If
With Dom
.async = False
.Load Request
If .parseError.errorCode <> 0 Then
Call ShowError()
End If
On Error Resume Next
Set Root = .documentElement
ID = Root.childNodes.item(0).Text
End With
If Not IsNumeric(ID) Then
Call ShowError()
End If
If Err.number<>0 Then
Err.Clear
Call ShowError()
ElseIf WriteXml(Dom, Server.MapPath("Xml/" & ID & ".xml"), MyID, MyName, Date, replace(replace(replace(now,"-",""),":","")," ",""), Root.childNodes.item(1).Text) Then
Call ShowError()
Else
Response.Write("<A><B>false</B></A>")
Set Dom = Nothing
End If
Sub ShowError
Response.Write("<A><B>true</B></A>")
Set Dom = Nothing
Response.End
End Sub
%>
-------------------------------等等的是一些需要用的JS文件和ASP文件-------------------------
上一个:暑期缤纷巨献之~------超级+无敌--------XML+javascript+ASP在线短信息功能!(6)
下一个:cookie的功能与购物车