4guys Site Search

Results 1 to 2 of 2

Thread: 4guys Site Search

  1. #1
    englishman Guest

    Default 4guys Site Search

    I am trying to implement the site search system which can be found at: <BR>http://www.4guysfromrolla.com/webtech/120499-1.2.shtml <BR>Exactly how it works is a bit beyond me. <BR>I&#039ve got to the stage where it looks like it works but returns no results every time. <BR>Now the main change (I think) that I made to the code was at: <BR>&#039Get the dirs to search <BR>If section = "HUMOR" then <BR>section = Server.MapPath("../humor/") <BR>else <BR>section = Server.MapPath("../webtech/") <BR>end if <BR><BR><BR>This gives me an error that tells me MapPath doesn&#039t work with "..". <BR>The technical paper mentioned on the page supports this. <BR>So, I took out the ../ and moved the asp file to the root directory and I get ... no results. <BR><BR>Can help me with this?<BR>

  2. #2
    vinh Guest

    Default RE: 4guys Site Search

    I&#039m having the same difficulty. I did a response.write(section) and it was displaying the path, but I also did not get any results back. Tried several directories under wwwroot with no success. Help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts