暑期繽紛巨獻之~------超級+無敵--------XML+javascript+ASP線上簡訊息功能!(7)

來源:互聯網
上載者:User
xml|線上 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+           超級+無敵--------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檔案-------------------------



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.