⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 savesubcatalog.asp

📁 Windows Web脚本开发指南/(美) Dan Heflin, Todd Ney著 的源码
💻 ASP
字号:
<%@ LANGUAGE=JavaScript %>
<%
  //Save the XML file to the value fileName in passed in for the query string
  var xmlValue = Request.Form("xmlSource");
  subCatalog = new ActiveXObject("Microsoft.FreeThreadedXMLDOM");
  subCatalog.async = false;
  subCatalog.resolveExternals = false;
  subCatalog.loadXML(xmlValue);
  var fileName = Request.QueryString("fileName");
  subCatalog.save(Server.MapPath(fileName));
  
  Response.Write("<p>The sub-catalog has been saved to the server path: " + Server.MapPath(fileName) + "</p>");
  Response.Write("<p>Don't forget to move the images to the appropriate directory.</p>");
  Response.Write("<p>The changes will be come effective the next time the application is restarted.</p>");
  Response.Write("<a href='hier.htm'>Return to Menu.</a>");
  
  
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -