\n\t\n\t\n\t\t\n\t"); } }//writeFile %>


Source Code


       
Abundant Technologies - IT Consulting Experts

 Source Code Library

 Code Details

 
<%@ Language=JavaScript %> <% var sFiles = ["ADOjavas.inc", "allprod.asp", "browse_cat.asp", "default.asp", "global.asa", "insert_prod.asp", "inspect_prod.asp", "JavaLibrary.inc", "logout.asp", "main_menu.inc", "manage_cat.asp", "search.asp", "update_prod.asp"]; var fso = Server.CreateObject("Scripting.FileSystemObject"); var tmpBuffer = null; function writeFiles(){ for(var i=0;i\n\t\t"); Response.Write(sFiles[i]); Response.Write("
"); sFiles[i] = Server.MapPath(sFiles[i]); if(fso.FileExists(sFiles[i])) { tmpBuffer = fso.OpenTextFile(sFiles[i], 1); while(!tmpBuffer.AtEndOfStream) { Response.Write(Server.HTMLEncode(tmpBuffer.ReadLine())+"
"); } tmpBuffer.Close(); } Response.Write("\t\t
<%writeFiles();%>

Mail To: info@3pc.com