Recommended: Interpreting a mistake that ASP programming rookies are prone to make In ASP programming, identity authentication can be said to be often used. But how can we achieve authentication security? Form submission page: sub.htm The following is the referenced content:
| The following is the referenced content: strSourceFile = Server.MapPath(dataXML&/Advertisement/&id&/adv.xml) Set objXML =Server.CreateObject(Microsoft.XMLDOM) 'Create an XML object objXML.load(strSourceFile) 'Read XML file into memory Set xml=objXML.documentElement.selectSingleNode(Advertisement) 'Select node Advertisement ADid=xml.childNodes.item(0).text ADname=xml.childNodes.item(1).text ADintro=xml.childNodes.item(2).text ADact=xml.childNodes.item(3).text ADclass=xml.childNodes.item(4).text Pids=xml.childNodes.item(5).text Picid=xml.childNodes.item(6).text ADurl=xml.childNodes.item(7).text ADwindow=xml.childNodes.item(8).text ADshow=xml.childNodes.item(9).text ADshows=xml.childNodes.item(10).text ADclick=xml.childNodes.item(11).text ADclicks=xml.childNodes.item(12).text ADtime=xml.childNodes.item(13).text ADstoptime=xml.childNodes.item(14).text ADstarttime=xml.childNodes.item(15).text ADxslei=xml.childNodes.item(16).text ADcss=xml.childNodes.item(17).text Picurl=xml.childNodes.item(18).text ADipkg=xml.childNodes.item(19).text if advertisevirtualvalue>=1 then xml.childNodes.item(3).text=2 objXML.save(strSourceFile) end if end if Set xml=nothing Set objXML = nothing |
Share: Error parsing ASP connection to MSSQL: Access denied An error message occurred when the ASP program cannot connect to MSSQL normally: The following is the referenced content: HTTP/1.1 200 OK Server: Microsoft-IIS/5.1 Date: Sun,