Summer Fun Huge offer ~------Super + Invincible--------xml+javascript+asp online short message Function! (7)

Source: Internet
Author: User
xml| Online +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Super + Invincible--------xml+javascript+asp online Short Message Function---Introduction
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



---------The following file is the Missyou.asp page to process the reply information, the code is longer, take a look at it slowly-----------



<% @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 (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
%>



-------------------------------and so on are some need to use the JS file and ASP files-------------------------



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.