hi,
I have tried using your WScript in my ASP search page with the search.cgi as suggested here http://www.wrensoft.com/zoom/support/faq_ssi.html:
But this doesn't work since my clients web server (actually the CMS-system) doesn't seem to support WScript. It does however work nicely with JScript and VBScript. Would it be possible to have this code-snippet translated into one of the above?
Thanks.
I have tried using your WScript in my ASP search page with the search.cgi as suggested here http://www.wrensoft.com/zoom/support/faq_ssi.html:
Code:
<% Dim WshShell, env Set WshShell = CreateObject("WScript.Shell") Set env = WshShell.Environment("Process") env.Item("REQUEST_METHOD") = "GET" env.Item("QUERY_STRING") = Request.QueryString set oExec = WshShell.Exec(Server.MapPath("search.cgi")) oExec.StdOut.ReadLine() ' skip the HTTP header line Response.Write(oExec.StdOut.ReadAll()) %>
Thanks.
Comment